# 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-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tests_states_initscripts.yml:5 Tuesday 27 February 2024 23:24:57 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tests_states_initscripts.yml:8 Tuesday 27 February 2024 23:24:57 +0000 (0:00:00.768) 0:00:00.780 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 23:24:57 +0000 (0:00:00.011) 0:00:00.792 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:17 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.258) 0:00:01.050 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:22 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.190) 0:00:01.241 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:26 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.013) 0:00:01.254 ****** 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-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:51 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.008) 0:00:01.263 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.021) 0:00:01.284 ****** 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-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.187) 0:00:01.472 ****** 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-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 23:24:58 +0000 (0:00:00.424) 0:00:01.896 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181431", "end": "2024-02-27 23:24:59.266523", "rc": 0, "start": "2024-02-27 23:24:59.085092" } 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-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.312) 0:00:02.209 ****** 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-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.008) 0:00:02.218 ****** 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-nm_plugin_hotfixqe27yg0a/tests/tests_states_initscripts.yml:10 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.007) 0:00:02.225 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:3 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.015) 0:00:02.241 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:11 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.534) 0:00:02.776 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:22 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.019) 0:00:02.796 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.024) 0:00:02.820 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.019) 0:00:02.840 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.045) 0:00:02.885 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.021) 0:00:02.906 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:24:59 +0000 (0:00:00.019) 0:00:02.926 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003977", "end": "2024-02-27 23:25:00.125423", "rc": 0, "start": "2024-02-27 23:25:00.121446" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.140) 0:00:03.066 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.019) 0:00:03.086 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.019) 0:00:03.106 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.028) 0:00:03.134 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012706", "end": "2024-02-27 23:25:00.348818", "rc": 1, "start": "2024-02-27 23:25:00.336112" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.160) 0:00:03.295 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.022) 0:00:03.318 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.140) 0:00:03.459 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.020) 0:00:03.479 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.024) 0:00:03.504 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.034) 0:00:03.538 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.028) 0:00:03.567 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.019) 0:00:03.586 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.020) 0:00:03.607 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:00 +0000 (0:00:00.021) 0:00:03.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:01 +0000 (0:00:00.879) 0:00:04.507 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:02 +0000 (0:00:01.178) 0:00:05.686 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:02 +0000 (0:00:00.030) 0:00:05.716 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:02 +0000 (0:00:00.029) 0:00:05.746 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:02 +0000 (0:00:00.029) 0:00:05.776 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:02 +0000 (0:00:00.031) 0:00:05.807 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:06 +0000 (0:00:03.200) 0:00:09.008 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.032) 0:00:09.040 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.051) 0:00:09.092 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.028) 0:00:09.120 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.054) 0:00:09.175 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.034) 0:00:09.209 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.031) 0:00:09.241 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.026) 0:00:09.267 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.418) 0:00:09.686 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpdfg2n0yv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:06 +0000 (0:00:00.240) 0:00:09.926 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.366) 0:00:10.293 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.044) 0:00:10.337 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.033) 0:00:10.371 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.030) 0:00:10.402 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.030) 0:00:10.432 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.260) 0:00:10.692 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.044) 0:00:10.737 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.048) 0:00:10.786 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.043) 0:00:10.829 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:07 +0000 (0:00:00.031) 0:00:10.861 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076307.3403385, "block_size": 4096, "blocks": 8, "ctime": 1709076307.3403385, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25299, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076307.3403385, "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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.206) 0:00:11.067 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.098 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026701", "end": "2024-02-27 23:25:08.329605", "rc": 1, "start": "2024-02-27 23:25:08.302904" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.186) 0:00:11.284 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.045) 0:00:11.330 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003959", "end": "2024-02-27 23:25:08.532472", "rc": 0, "start": "2024-02-27 23:25:08.528513" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.153) 0:00:11.483 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.035) 0:00:11.519 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003877", "end": "2024-02-27 23:25:08.729997", "rc": 0, "start": "2024-02-27 23:25:08.726120" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.162) 0:00:11.681 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.031) 0:00:11.713 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.744 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.774 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.804 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.835 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.030) 0:00:11.866 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:08 +0000 (0:00:00.043) 0:00:11.910 ****** 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.050298", "end": "2024-02-27 23:25:09.158232", "rc": 1, "start": "2024-02-27 23:25:09.107934" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:45 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.201) 0:00:12.112 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.045) 0:00:12.157 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.056) 0:00:12.214 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.053) 0:00:12.268 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.040) 0:00:12.308 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.050) 0:00:12.358 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003940", "end": "2024-02-27 23:25:09.561613", "rc": 0, "start": "2024-02-27 23:25:09.557673" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.156) 0:00:12.514 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.030) 0:00:12.544 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.028) 0:00:12.573 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.044) 0:00:12.618 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008171", "end": "2024-02-27 23:25:09.831643", "rc": 1, "start": "2024-02-27 23:25:09.823472" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.162) 0:00:12.781 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:09 +0000 (0:00:00.038) 0:00:12.819 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.159) 0:00:12.978 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.031) 0:00:13.010 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.041) 0:00:13.052 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.073) 0:00:13.126 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.045) 0:00:13.172 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.034) 0:00:13.207 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.030) 0:00:13.238 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:10 +0000 (0:00:00.030) 0:00:13.268 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:11 +0000 (0:00:00.754) 0:00:14.023 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:12 +0000 (0:00:00.991) 0:00:15.015 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:12 +0000 (0:00:00.031) 0:00:15.047 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:12 +0000 (0:00:00.032) 0:00:15.079 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:12 +0000 (0:00:00.029) 0:00:15.109 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:12 +0000 (0:00:00.031) 0:00:15.140 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:16 +0000 (0:00:04.416) 0:00:19.556 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.035) 0:00:19.591 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.055) 0:00:19.647 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.032) 0:00:19.679 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.067) 0:00:19.747 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.039) 0:00:19.786 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.035) 0:00:19.821 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:16 +0000 (0:00:00.034) 0:00:19.855 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.257) 0:00:20.113 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp90ow4s4_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.257) 0:00:20.371 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.245) 0:00:20.616 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.032) 0:00:20.648 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.032) 0:00:20.681 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.030) 0:00:20.712 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.029) 0:00:20.742 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.160) 0:00:20.902 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.032) 0:00:20.935 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.048) 0:00:20.983 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.041) 0:00:21.025 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.152) 0:00:21.177 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.089) 0:00:21.267 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.041) 0:00:21.309 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.029) 0:00:21.338 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076317.6620405, "block_size": 4096, "blocks": 8, "ctime": 1709076317.6620405, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25299, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076317.6620405, "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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.171) 0:00:21.509 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.029) 0:00:21.539 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023200", "end": "2024-02-27 23:25:18.766962", "rc": 1, "start": "2024-02-27 23:25:18.743762" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.179) 0:00:21.718 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.029) 0:00:21.748 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003694", "end": "2024-02-27 23:25:18.958904", "rc": 0, "start": "2024-02-27 23:25:18.955210" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.163) 0:00:21.912 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.032) 0:00:21.944 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003828", "end": "2024-02-27 23:25:19.148091", "rc": 0, "start": "2024-02-27 23:25:19.144263" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.166) 0:00:22.111 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.045) 0:00:22.157 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.040) 0:00:22.197 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.033) 0:00:22.231 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.032) 0:00:22.263 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.026) 0:00:22.290 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.029) 0:00:22.319 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.045) 0:00:22.364 ****** 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.048871", "end": "2024-02-27 23:25:19.613780", "rc": 1, "start": "2024-02-27 23:25:19.564909" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:65 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.237) 0:00:22.602 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.050) 0:00:22.653 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.033) 0:00:22.687 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.062) 0:00:22.750 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.042) 0:00:22.792 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.039) 0:00:22.832 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003978", "end": "2024-02-27 23:25:20.036456", "rc": 0, "start": "2024-02-27 23:25:20.032478" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.155) 0:00:22.987 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.029) 0:00:23.017 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.028) 0:00:23.046 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.043) 0:00:23.089 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.070) 0:00:23.159 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.047) 0:00:23.207 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.069) 0:00:23.276 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.032) 0:00:23.309 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.033) 0:00:23.343 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:21 +0000 (0:00:00.770) 0:00:24.113 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:22 +0000 (0:00:01.025) 0:00:25.139 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.030) 0:00:25.169 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.030) 0:00:25.200 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.030) 0:00:25.230 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.032) 0:00:25.263 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:25 +0000 (0:00:03.435) 0:00:28.699 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.037) 0:00:28.736 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.060) 0:00:28.797 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.034) 0:00:28.832 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.035) 0:00:28.867 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.050) 0:00:28.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.068) 0:00:28.987 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.067) 0:00:29.054 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.261) 0:00:29.316 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpvqfpqblg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.264) 0:00:29.581 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.269) 0:00:29.850 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.033) 0:00:29.884 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.034) 0:00:29.918 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.032) 0:00:29.951 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.032) 0:00:29.984 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.168) 0:00:30.152 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.034) 0:00:30.186 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.058) 0:00:30.245 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.059) 0:00:30.304 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.092) 0:00:30.397 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.042) 0:00:30.439 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.033) 0:00:30.473 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.098) 0:00:30.571 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.773) 0:00:31.345 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.994) 0:00:32.340 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.033) 0:00:32.373 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.034) 0:00:32.408 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.031) 0:00:32.440 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.028) 0:00:32.468 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:33 +0000 (0:00:03.851) 0:00:36.320 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.050) 0:00:36.370 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.057) 0:00:36.427 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.038) 0:00:36.466 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.047) 0:00:36.513 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.037) 0:00:36.551 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.034) 0:00:36.585 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.032) 0:00:36.617 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:33 +0000 (0:00:00.256) 0:00:36.874 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp4zthuozp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.320) 0:00:37.194 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.493) 0:00:37.688 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.033) 0:00:37.721 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.031) 0:00:37.753 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.033) 0:00:37.787 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:34 +0000 (0:00:00.032) 0:00:37.819 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.158) 0:00:37.977 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.126) 0:00:38.103 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.067) 0:00:38.170 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076334.6575491, "block_size": 4096, "blocks": 0, "ctime": 1709076334.6565492, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17666, "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": 1709076334.6565492, "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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.165) 0:00:38.336 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.038) 0:00:38.374 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.106) 0:00:38.480 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.032) 0:00:38.512 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076334.4815543, "block_size": 4096, "blocks": 8, "ctime": 1709076326.8957736, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9375, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076326.8957736, "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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.149) 0:00:38.662 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.032) 0:00:38.695 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025407", "end": "2024-02-27 23:25:35.957424", "rc": 1, "start": "2024-02-27 23:25:35.932017" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.253) 0:00:38.949 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.031) 0:00:38.980 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003838", "end": "2024-02-27 23:25:36.191554", "rc": 0, "start": "2024-02-27 23:25:36.187716" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.164) 0:00:39.144 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.033) 0:00:39.178 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003727", "end": "2024-02-27 23:25:36.381064", "rc": 0, "start": "2024-02-27 23:25:36.377337" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.153) 0:00:39.332 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.033) 0:00:39.366 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.032) 0:00:39.399 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.031) 0:00:39.430 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.036) 0:00:39.467 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.026) 0:00:39.494 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.030) 0:00:39.525 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.044) 0:00:39.569 ****** 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.052962", "end": "2024-02-27 23:25:36.822792", "rc": 0, "start": "2024-02-27 23:25:36.769830" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:83 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.207) 0:00:39.777 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.043) 0:00:39.820 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.028) 0:00:39.849 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.053) 0:00:39.903 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.076) 0:00:39.980 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.043) 0:00:40.024 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004008", "end": "2024-02-27 23:25:37.249139", "rc": 0, "start": "2024-02-27 23:25:37.245131" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.178) 0:00:40.202 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.031) 0:00:40.234 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.031) 0:00:40.265 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.072) 0:00:40.338 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.053) 0:00:40.391 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.046) 0:00:40.438 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.032) 0:00:40.470 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.036) 0:00:40.507 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.034) 0:00:40.541 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.803) 0:00:41.344 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:39 +0000 (0:00:01.081) 0:00:42.426 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.034) 0:00:42.460 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.032) 0:00:42.493 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.034) 0:00:42.528 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.029) 0:00:42.558 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:42 +0000 (0:00:03.122) 0:00:45.680 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.037) 0:00:45.718 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.055) 0:00:45.773 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.032) 0:00:45.806 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.036) 0:00:45.842 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.037) 0:00:45.879 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:42 +0000 (0:00:00.030) 0:00:45.910 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.027) 0:00:45.938 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.286) 0:00:46.225 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmppg57ujwz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.258) 0:00:46.483 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.242) 0:00:46.726 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.031) 0:00:46.757 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.031) 0:00:46.788 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.070) 0:00:46.859 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.034) 0:00:46.893 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.167) 0:00:47.061 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.033) 0:00:47.094 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.050) 0:00:47.145 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.050) 0:00:47.195 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.033) 0:00:47.229 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.031) 0:00:47.261 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.031) 0:00:47.293 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:45 +0000 (0:00:00.763) 0:00:48.056 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:46 +0000 (0:00:01.013) 0:00:49.070 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.030) 0:00:49.101 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.029) 0:00:49.130 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.061) 0:00:49.192 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.028) 0:00:49.220 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:49 +0000 (0:00:03.292) 0:00:52.513 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.035) 0:00:52.548 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.052) 0:00:52.601 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.030) 0:00:52.632 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.030) 0:00:52.662 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.035) 0:00:52.697 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.030) 0:00:52.728 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:49 +0000 (0:00:00.032) 0:00:52.760 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.271) 0:00:53.032 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpmlc4ffmg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.242) 0:00:53.274 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.487) 0:00:53.762 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.032) 0:00:53.794 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.035) 0:00:53.830 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.032) 0:00:53.863 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.028) 0:00:53.892 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.156) 0:00:54.048 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.086) 0:00:54.135 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.050) 0:00:54.185 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.047) 0:00:54.232 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.034) 0:00:54.266 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.030) 0:00:54.297 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.031) 0:00:54.328 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.757) 0:00:55.086 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.988) 0:00:56.075 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.030) 0:00:56.106 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.032) 0:00:56.138 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.033) 0:00:56.172 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.031) 0:00:56.203 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:56 +0000 (0:00:03.709) 0:00:59.913 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.121) 0:01:00.035 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.055) 0:01:00.091 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.031) 0:01:00.122 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.031) 0:01:00.154 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.036) 0:01:00.190 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.033) 0:01:00.223 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.029) 0:01:00.253 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.274) 0:01:00.527 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpzr98c587" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:57 +0000 (0:00:00.258) 0:01:00.785 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.251) 0:01:01.037 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.031) 0:01:01.069 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.030) 0:01:01.099 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.033) 0:01:01.132 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.031) 0:01:01.164 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.165) 0:01:01.329 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.046) 0:01:01.376 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.073) 0:01:01.449 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076350.739083, "block_size": 4096, "blocks": 0, "ctime": 1709076350.738083, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17666, "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": 1709076350.738083, "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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.152) 0:01:01.602 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.029) 0:01:01.632 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.040) 0:01:01.672 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.028) 0:01:01.700 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.151) 0:01:01.852 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:58 +0000 (0:00:00.030) 0:01:01.882 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024528", "end": "2024-02-27 23:25:59.109038", "rc": 1, "start": "2024-02-27 23:25:59.084510" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.178) 0:01:02.061 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.029) 0:01:02.091 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.031) 0:01:02.122 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.029) 0:01:02.151 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.028) 0:01:02.180 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.029) 0:01:02.209 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.029) 0:01:02.239 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.026) 0:01:02.265 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.030) 0:01:02.295 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.074) 0:01:02.370 ****** 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.052364", "end": "2024-02-27 23:25:59.624829", "rc": 0, "start": "2024-02-27 23:25:59.572465" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:102 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.206) 0:01:02.576 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.040) 0:01:02.617 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.031) 0:01:02.649 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.055) 0:01:02.704 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.040) 0:01:02.745 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.039) 0:01:02.785 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003956", "end": "2024-02-27 23:25:59.994947", "rc": 0, "start": "2024-02-27 23:25:59.990991" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.162) 0:01:02.948 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.031) 0:01:02.979 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.030) 0:01:03.010 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.047) 0:01:03.057 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.049) 0:01:03.106 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.084) 0:01:03.190 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.034) 0:01:03.225 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.032) 0:01:03.257 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.031) 0:01:03.289 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.760) 0:01:04.049 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:02 +0000 (0:00:01.006) 0:01:05.056 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:02 +0000 (0:00:00.034) 0:01:05.090 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:02 +0000 (0:00:00.031) 0:01:05.122 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:02 +0000 (0:00:00.031) 0:01:05.154 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:02 +0000 (0:00:00.028) 0:01:05.182 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:07 +0000 (0:00:04.959) 0:01:10.142 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.035) 0:01:10.178 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.053) 0:01:10.231 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.034) 0:01:10.265 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.052) 0:01:10.318 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.054) 0:01:10.373 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.033) 0:01:10.406 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.084) 0:01:10.491 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.275) 0:01:10.766 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp60velmps" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.281) 0:01:11.048 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.251) 0:01:11.299 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.032) 0:01:11.331 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.033) 0:01:11.364 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.032) 0:01:11.397 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.030) 0:01:11.427 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.162) 0:01:11.590 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.032) 0:01:11.622 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.050) 0:01:11.673 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.053) 0:01:11.727 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.034) 0:01:11.761 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.032) 0:01:11.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.030) 0:01:11.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:09 +0000 (0:00:00.846) 0:01:12.670 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:10 +0000 (0:00:01.018) 0:01:13.688 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.036) 0:01:13.725 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.031) 0:01:13.756 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.031) 0:01:13.788 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.028) 0:01:13.816 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:14 +0000 (0:00:03.284) 0:01:17.101 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.035) 0:01:17.136 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.054) 0:01:17.191 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.040) 0:01:17.231 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.035) 0:01:17.267 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.038) 0:01:17.305 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.034) 0:01:17.339 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.032) 0:01:17.371 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.263) 0:01:17.635 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpy3mqf_m1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.246) 0:01:17.882 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.574) 0:01:18.456 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.031) 0:01:18.487 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.031) 0:01:18.519 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.031) 0:01:18.550 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.033) 0:01:18.584 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.159) 0:01:18.743 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.052) 0:01:18.795 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.048) 0:01:18.843 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.034) 0:01:18.877 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.032) 0:01:18.910 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.031) 0:01:18.941 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.756) 0:01:19.697 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:17 +0000 (0:00:01.031) 0:01:20.728 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:17 +0000 (0:00:00.072) 0:01:20.801 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:17 +0000 (0:00:00.030) 0:01:20.832 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:17 +0000 (0:00:00.033) 0:01:20.866 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:17 +0000 (0:00:00.028) 0:01:20.895 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:21 +0000 (0:00:03.424) 0:01:24.319 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.035) 0:01:24.355 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.055) 0:01:24.411 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.039) 0:01:24.450 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.045) 0:01:24.496 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.041) 0:01:24.537 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.033) 0:01:24.570 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.029) 0:01:24.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.264) 0:01:24.865 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp7_rbg7gq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.254) 0:01:25.119 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.257) 0:01:25.376 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.031) 0:01:25.408 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.033) 0:01:25.442 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.036) 0:01:25.478 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.040) 0:01:25.519 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.226) 0:01:25.746 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.049) 0:01:25.795 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.051) 0:01:25.846 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.055) 0:01:25.901 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.040) 0:01:25.942 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.033) 0:01:25.975 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.034) 0:01:26.010 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.776) 0:01:26.786 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:24 +0000 (0:00:01.012) 0:01:27.799 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.030) 0:01:27.830 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.031) 0:01:27.862 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.030) 0:01:27.893 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:25 +0000 (0:00:00.065) 0:01:27.959 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:28 +0000 (0:00:03.291) 0:01:31.250 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.038) 0:01:31.288 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.053) 0:01:31.342 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.032) 0:01:31.374 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.042) 0:01:31.417 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.048) 0:01:31.465 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.058) 0:01:31.523 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.037) 0:01:31.561 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.279) 0:01:31.840 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpo6s8t9oi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.279) 0:01:32.120 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.240) 0:01:32.360 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.033) 0:01:32.393 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.037) 0:01:32.431 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.034) 0:01:32.466 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.032) 0:01:32.498 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.158) 0:01:32.656 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.087) 0:01:32.744 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.041) 0:01:32.786 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.030) 0:01:32.816 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.150) 0:01:32.967 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.029) 0:01:32.997 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023538", "end": "2024-02-27 23:26:30.221106", "rc": 1, "start": "2024-02-27 23:26:30.197568" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.175) 0:01:33.172 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.031) 0:01:33.203 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.028) 0:01:33.232 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.028) 0:01:33.260 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.029) 0:01:33.290 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.027) 0:01:33.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.037) 0:01:33.355 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.032) 0:01:33.388 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.033) 0:01:33.421 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.044) 0:01:33.466 ****** 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.049004", "end": "2024-02-27 23:26:30.714807", "rc": 0, "start": "2024-02-27 23:26:30.665803" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:124 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.201) 0:01:33.667 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.077) 0:01:33.744 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.030) 0:01:33.774 ****** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.053) 0:01:33.828 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.041) 0:01:33.870 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.039) 0:01:33.909 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004101", "end": "2024-02-27 23:26:31.112801", "rc": 0, "start": "2024-02-27 23:26:31.108700" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.154) 0:01:34.064 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.030) 0:01:34.094 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.029) 0:01:34.124 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.048) 0:01:34.173 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.050) 0:01:34.224 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.047) 0:01:34.271 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.033) 0:01:34.305 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.029) 0:01:34.335 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.072) 0:01:34.407 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:32 +0000 (0:00:00.765) 0:01:35.173 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:33 +0000 (0:00:00.995) 0:01:36.168 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:33 +0000 (0:00:00.030) 0:01:36.199 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:33 +0000 (0:00:00.030) 0:01:36.230 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:33 +0000 (0:00:00.029) 0:01:36.259 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:33 +0000 (0:00:00.029) 0:01:36.289 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:36 +0000 (0:00:03.359) 0:01:39.649 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.045) 0:01:39.694 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.101) 0:01:39.795 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.045) 0:01:39.841 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.046) 0:01:39.887 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.040) 0:01:39.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.031) 0:01:39.959 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.029) 0:01:39.988 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.264) 0:01:40.253 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp4zw9jobv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.285) 0:01:40.538 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.274) 0:01:40.813 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.036) 0:01:40.849 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.039) 0:01:40.889 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.035) 0:01:40.924 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.038) 0:01:40.962 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.172) 0:01:41.135 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.034) 0:01:41.169 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.052) 0:01:41.222 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.046) 0:01:41.268 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.041) 0:01:41.310 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.031) 0:01:41.341 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.031) 0:01:41.373 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:39 +0000 (0:00:00.765) 0:01:42.138 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:40 +0000 (0:00:01.091) 0:01:43.230 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:40 +0000 (0:00:00.031) 0:01:43.262 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:40 +0000 (0:00:00.030) 0:01:43.292 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:40 +0000 (0:00:00.032) 0:01:43.324 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:40 +0000 (0:00:00.034) 0:01:43.359 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:43 +0000 (0:00:03.475) 0:01:46.835 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.041) 0:01:46.877 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.057) 0:01:46.935 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.034) 0:01:46.969 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.039) 0:01:47.009 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.040) 0:01:47.050 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.034) 0:01:47.084 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.036) 0:01:47.121 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.284) 0:01:47.406 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmppfl5ypw6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.246) 0:01:47.653 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.486) 0:01:48.139 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.031) 0:01:48.170 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.032) 0:01:48.203 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.083) 0:01:48.287 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.042) 0:01:48.330 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.193) 0:01:48.523 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.058) 0:01:48.582 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.051) 0:01:48.634 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.037) 0:01:48.672 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.030) 0:01:48.703 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.031) 0:01:48.735 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.767) 0:01:49.503 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:47 +0000 (0:00:00.986) 0:01:50.489 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:47 +0000 (0:00:00.030) 0:01:50.520 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:47 +0000 (0:00:00.033) 0:01:50.554 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:47 +0000 (0:00:00.030) 0:01:50.585 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:47 +0000 (0:00:00.085) 0:01:50.671 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:51 +0000 (0:00:03.310) 0:01:53.981 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.049) 0:01:54.031 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.059) 0:01:54.090 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.031) 0:01:54.121 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.032) 0:01:54.153 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.036) 0:01:54.190 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.035) 0:01:54.226 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.029) 0:01:54.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.287) 0:01:54.543 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmp2n4ms5xz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.261) 0:01:54.804 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.256) 0:01:55.061 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.031) 0:01:55.093 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.032) 0:01:55.125 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.035) 0:01:55.160 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.033) 0:01:55.194 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.161) 0:01:55.356 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.084) 0:01:55.441 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.050) 0:01:55.491 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.047) 0:01:55.539 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.033) 0:01:55.572 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.031) 0:01:55.603 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.030) 0:01:55.634 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.766) 0:01:56.400 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:54 +0000 (0:00:00.988) 0:01:57.388 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:54 +0000 (0:00:00.032) 0:01:57.421 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:54 +0000 (0:00:00.030) 0:01:57.451 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:54 +0000 (0:00:00.031) 0:01:57.483 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:54 +0000 (0:00:00.028) 0:01:57.511 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:57 +0000 (0:00:03.265) 0:02:00.777 ****** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.036) 0:02:00.814 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.147) 0:02:00.961 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.031) 0:02:00.993 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.030) 0:02:01.023 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.035) 0:02:01.059 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.030) 0:02:01.089 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.028) 0:02:01.117 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.255) 0:02:01.373 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14281b4qwyj4f/tmpshzz8gf9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.246) 0:02:01.620 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.240) 0:02:01.860 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.030) 0:02:01.891 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.032) 0:02:01.923 ****** 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-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.032) 0:02:01.956 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.030) 0:02:01.986 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.157) 0:02:02.144 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.060) 0:02:02.204 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.115) 0:02:02.319 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.044) 0:02:02.364 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.160) 0:02:02.524 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.029) 0:02:02.554 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024463", "end": "2024-02-27 23:26:59.790658", "rc": 1, "start": "2024-02-27 23:26:59.766195" } 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.191) 0:02:02.746 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.043) 0:02:02.789 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.029) 0:02:02.818 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.030) 0:02:02.849 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.037) 0:02:02.887 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.029) 0:02:02.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 27 February 2024 23:27:00 +0000 (0:00:00.034) 0:02:02.950 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.708981", "end": "2024-02-27 23:27:00.866457", "rc": 0, "start": "2024-02-27 23:27:00.157476" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 27 February 2024 23:27:00 +0000 (0:00:00.869) 0:02:03.820 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 27 February 2024 23:27:00 +0000 (0:00:00.031) 0:02:03.851 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:27:00 +0000 (0:00:00.031) 0:02:03.883 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:27:00 +0000 (0:00:00.032) 0:02:03.916 ****** 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-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:27:01 +0000 (0:00:00.030) 0:02:03.946 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:27:01 +0000 (0:00:00.051) 0:02:03.997 ****** 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.057676", "end": "2024-02-27 23:27:01.254805", "rc": 0, "start": "2024-02-27 23:27:01.197129" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 23:27:01 +0000 (0:00:00.209) 0:02:04.206 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008254", "end": "2024-02-27 23:27:01.412358", "rc": 0, "start": "2024-02-27 23:27:01.404104" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:e6:19:6f:1d:73 brd ff:ff:ff:ff:ff:ff inet 10.31.47.187/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3052sec preferred_lft 3052sec inet6 fe80::e6:19ff:fe6f:1d73/64 scope link valid_lft forever preferred_lft forever 39: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether b2:70:e4:48:6c:9b brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::b070:e4ff:fe48:6c9b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.187 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 23:27:01 +0000 (0:00:00.205) 0:02:04.412 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.307674", "end": "2024-02-27 23:27:01.928463", "rc": 0, "start": "2024-02-27 23:27:01.620789" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2095 0 --:--:-- --:--:-- --:--:-- 2103 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2082 0 --:--:-- --:--:-- --:--:-- 2093 PLAY RECAP ********************************************************************* sut : ok=352 changed=13 unreachable=0 failed=0 skipped=255 rescued=0 ignored=10 Tuesday 27 February 2024 23:27:01 +0000 (0:00:00.498) 0:02:04.911 ****** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 4.96s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 4.42s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.85s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.71s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.48s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.44s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.42s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.36s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.31s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.29s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.29s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.28s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.27s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.20s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.12s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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.09s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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.08s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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.03s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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.03s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---