# 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_hotfix3ssg0usw/.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_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/tests_states_initscripts.yml:5 Thursday 29 February 2024 00:18:14 +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_hotfix3ssg0usw/tests/tests_states_initscripts.yml:8 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.726) 0:00:00.737 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.011) 0:00:00.749 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/tasks/el_repo_setup.yml:17 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.238) 0:00:00.987 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/tasks/el_repo_setup.yml:22 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.183) 0:00:01.171 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/tasks/el_repo_setup.yml:26 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.013) 0:00:01.184 ***** 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_hotfix3ssg0usw/tests/tasks/el_repo_setup.yml:51 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.008) 0:00:01.193 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.021) 0:00:01.214 ***** 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_hotfix3ssg0usw/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:18:15 +0000 (0:00:00.184) 0:00:01.399 ***** 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_hotfix3ssg0usw/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:18:16 +0000 (0:00:00.439) 0:00:01.838 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182010", "end": "2024-02-29 00:18:16.711895", "rc": 0, "start": "2024-02-29 00:18:16.529885" } 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_hotfix3ssg0usw/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:18:16 +0000 (0:00:00.316) 0:00:02.155 ***** 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_hotfix3ssg0usw/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:18:16 +0000 (0:00:00.009) 0:00:02.164 ***** 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_hotfix3ssg0usw/tests/tests_states_initscripts.yml:10 Thursday 29 February 2024 00:18:16 +0000 (0:00:00.008) 0:00:02.173 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tests_states.yml:3 Thursday 29 February 2024 00:18:16 +0000 (0:00:00.018) 0:00:02.192 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tests_states.yml:11 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.536) 0:00:02.728 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tests_states.yml:22 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.019) 0:00:02.748 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.022) 0:00:02.771 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.018) 0:00:02.789 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.041) 0:00:02.830 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.020) 0:00:02.851 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.019) 0:00:02.870 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004055", "end": "2024-02-29 00:18:17.570266", "rc": 0, "start": "2024-02-29 00:18:17.566211" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.141) 0:00:03.012 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.019) 0:00:03.032 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.022) 0:00:03.054 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.029) 0:00:03.084 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012544", "end": "2024-02-29 00:18:17.800072", "rc": 1, "start": "2024-02-29 00:18:17.787528" } 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.156) 0:00:03.240 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.021) 0:00:03.262 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.136) 0:00:03.398 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:18:17 +0000 (0:00:00.022) 0:00:03.421 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.026) 0:00:03.447 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.063) 0:00:03.510 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.040) 0:00:03.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 : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.030) 0:00:03.581 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.035) 0:00:03.616 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:18 +0000 (0:00:00.028) 0:00:03.644 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:19 +0000 (0:00:00.879) 0:00:04.524 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:20 +0000 (0:00:01.128) 0:00:05.652 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.029) 0:00:05.682 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.030) 0:00:05.712 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.029) 0:00:05.742 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.030) 0:00:05.773 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.035) 0:00:05.808 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.033) 0:00:05.842 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.052) 0:00:05.895 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.028) 0:00:05.923 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.053) 0:00:05.976 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.034) 0:00:06.011 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.033) 0:00:06.045 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:20 +0000 (0:00:00.028) 0:00:06.073 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.421) 0:00:06.495 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpaniqvxdb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.231) 0:00:06.726 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.367) 0:00:07.093 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.034) 0:00:07.128 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.032) 0:00:07.160 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.035) 0:00:07.195 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:21 +0000 (0:00:00.031) 0:00:07.227 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.251) 0:00:07.478 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.030) 0:00:07.508 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.045) 0:00:07.553 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.041) 0:00:07.595 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.028) 0:00:07.624 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165901.6419482, "block_size": 4096, "blocks": 8, "ctime": 1709165901.6419482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165901.6419482, "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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.201) 0:00:07.825 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.029) 0:00:07.855 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025890", "end": "2024-02-29 00:18:22.579240", "rc": 1, "start": "2024-02-29 00:18:22.553350" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.173) 0:00:08.028 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.035) 0:00:08.063 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004143", "end": "2024-02-29 00:18:22.767679", "rc": 0, "start": "2024-02-29 00:18:22.763536" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.154) 0:00:08.218 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.033) 0:00:08.251 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004037", "end": "2024-02-29 00:18:22.954569", "rc": 0, "start": "2024-02-29 00:18:22.950532" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:18:22 +0000 (0:00:00.154) 0:00:08.406 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.051) 0:00:08.457 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.055) 0:00:08.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.063) 0:00:08.576 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.043) 0:00:08.620 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.031) 0:00:08.652 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.042) 0:00:08.694 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.055) 0:00:08.750 ***** 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.049946", "end": "2024-02-29 00:18:23.494908", "rc": 1, "start": "2024-02-29 00:18:23.444962" } 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_hotfix3ssg0usw/tests/playbooks/tests_states.yml:45 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.196) 0:00:08.946 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.042) 0:00:08.988 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.068) 0:00:09.057 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.056) 0:00:09.113 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.043) 0:00:09.156 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.040) 0:00:09.196 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004287", "end": "2024-02-29 00:18:23.895905", "rc": 0, "start": "2024-02-29 00:18:23.891618" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.148) 0:00:09.345 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.029) 0:00:09.375 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:18:23 +0000 (0:00:00.028) 0:00:09.403 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.042) 0:00:09.446 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007989", "end": "2024-02-29 00:18:24.149529", "rc": 1, "start": "2024-02-29 00:18:24.141540" } 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.155) 0:00:09.601 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.039) 0:00:09.640 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.147) 0:00:09.788 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.032) 0:00:09.820 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.045) 0:00:09.866 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.085) 0:00:09.952 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.046) 0:00:09.999 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.034) 0:00:10.033 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.030) 0:00:10.064 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:24 +0000 (0:00:00.030) 0:00:10.094 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:25 +0000 (0:00:00.788) 0:00:10.882 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.977) 0:00:11.860 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.030) 0:00:11.890 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.030) 0:00:11.921 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.029) 0:00:11.950 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.028) 0:00:11.979 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.035) 0:00:12.014 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.033) 0:00:12.048 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.051) 0:00:12.100 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.029) 0:00:12.129 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.060) 0:00:12.189 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.034) 0:00:12.224 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.032) 0:00:12.256 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:26 +0000 (0:00:00.028) 0:00:12.284 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.251) 0:00:12.536 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpbh42qtgn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.213) 0:00:12.749 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.240) 0:00:12.990 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.029) 0:00:13.019 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.029) 0:00:13.049 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.029) 0:00:13.078 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.029) 0:00:13.108 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.148) 0:00:13.256 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.032) 0:00:13.289 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.046) 0:00:13.336 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:18:27 +0000 (0:00:00.040) 0:00:13.377 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.159) 0:00:13.536 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.061) 0:00:13.598 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.040) 0:00:13.638 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.029) 0:00:13.668 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165907.53781, "block_size": 4096, "blocks": 8, "ctime": 1709165907.53781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165907.53781, "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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.142) 0:00:13.811 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.036) 0:00:13.847 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022518", "end": "2024-02-29 00:18:28.565761", "rc": 1, "start": "2024-02-29 00:18:28.543243" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.168) 0:00:14.015 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.029) 0:00:14.045 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004065", "end": "2024-02-29 00:18:28.746022", "rc": 0, "start": "2024-02-29 00:18:28.741957" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.154) 0:00:14.199 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.033) 0:00:14.232 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003963", "end": "2024-02-29 00:18:28.931765", "rc": 0, "start": "2024-02-29 00:18:28.927802" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.150) 0:00:14.383 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:18:28 +0000 (0:00:00.032) 0:00:14.415 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.031) 0:00:14.447 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.032) 0:00:14.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.034) 0:00:14.514 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.028) 0:00:14.542 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.030) 0:00:14.573 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.045) 0:00:14.618 ***** 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.043974", "end": "2024-02-29 00:18:29.358021", "rc": 1, "start": "2024-02-29 00:18:29.314047" } 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_hotfix3ssg0usw/tests/playbooks/tests_states.yml:65 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.218) 0:00:14.837 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.041) 0:00:14.878 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.031) 0:00:14.910 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.053) 0:00:14.964 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.040) 0:00:15.004 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.041) 0:00:15.045 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004082", "end": "2024-02-29 00:18:29.744752", "rc": 0, "start": "2024-02-29 00:18:29.740670" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.148) 0:00:15.194 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.033) 0:00:15.227 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.030) 0:00:15.258 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.042) 0:00:15.301 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.050) 0:00:15.351 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:29 +0000 (0:00:00.047) 0:00:15.399 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:30 +0000 (0:00:00.062) 0:00:15.461 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:30 +0000 (0:00:00.030) 0:00:15.492 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:30 +0000 (0:00:00.030) 0:00:15.523 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:30 +0000 (0:00:00.752) 0:00:16.275 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.970) 0:00:17.246 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.031) 0:00:17.277 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.032) 0:00:17.310 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.031) 0:00:17.341 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.033) 0:00:17.374 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:31 +0000 (0:00:00.037) 0:00:17.411 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.035) 0:00:17.447 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.057) 0:00:17.505 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.031) 0:00:17.536 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.033) 0:00:17.570 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.036) 0:00:17.606 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.030) 0:00:17.636 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.058) 0:00:17.694 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.256) 0:00:17.951 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpwm3ey120" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.217) 0:00:18.168 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:32 +0000 (0:00:00.238) 0:00:18.407 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.032) 0:00:18.439 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.030) 0:00:18.470 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.030) 0:00:18.500 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.031) 0:00:18.531 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.153) 0:00:18.685 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.030) 0:00:18.715 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.044) 0:00:18.759 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.049) 0:00:18.809 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.048) 0:00:18.858 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.036) 0:00:18.894 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.030) 0:00:18.925 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:33 +0000 (0:00:00.055) 0:00:18.981 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:34 +0000 (0:00:00.764) 0:00:19.745 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:35 +0000 (0:00:01.011) 0:00:20.757 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.032) 0:00:20.789 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.033) 0:00:20.822 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.031) 0:00:20.854 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.029) 0:00:20.884 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.038) 0:00:20.923 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.037) 0:00:20.960 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.055) 0:00:21.016 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.031) 0:00:21.047 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.033) 0:00:21.080 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.036) 0:00:21.117 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.030) 0:00:21.147 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:35 +0000 (0:00:00.029) 0:00:21.177 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.253) 0:00:21.430 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmp56ihy7we" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.245) 0:00:21.676 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.498) 0:00:22.175 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.032) 0:00:22.208 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.030) 0:00:22.239 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.030) 0:00:22.269 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:36 +0000 (0:00:00.030) 0:00:22.299 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.151) 0:00:22.451 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.047) 0:00:22.499 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.039) 0:00:22.539 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165916.6475966, "block_size": 4096, "blocks": 0, "ctime": 1709165916.6465967, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1709165916.6465967, "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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.152) 0:00:22.691 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.043) 0:00:22.735 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.043) 0:00:22.778 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.029) 0:00:22.808 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165916.463601, "block_size": 4096, "blocks": 8, "ctime": 1709165912.9556832, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25389, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165912.9556832, "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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.149) 0:00:22.957 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.028) 0:00:22.985 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025447", "end": "2024-02-29 00:18:37.742723", "rc": 1, "start": "2024-02-29 00:18:37.717276" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.239) 0:00:23.225 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.029) 0:00:23.255 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004025", "end": "2024-02-29 00:18:37.956507", "rc": 0, "start": "2024-02-29 00:18:37.952482" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:18:37 +0000 (0:00:00.152) 0:00:23.407 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.032) 0:00:23.439 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004015", "end": "2024-02-29 00:18:38.143385", "rc": 0, "start": "2024-02-29 00:18:38.139370" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.154) 0:00:23.594 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.033) 0:00:23.627 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.031) 0:00:23.658 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.030) 0:00:23.688 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.030) 0:00:23.719 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.026) 0:00:23.746 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.031) 0:00:23.777 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.042) 0:00:23.819 ***** 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.050120", "end": "2024-02-29 00:18:38.567393", "rc": 0, "start": "2024-02-29 00:18:38.517273" } 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_hotfix3ssg0usw/tests/playbooks/tests_states.yml:83 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.204) 0:00:24.024 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.046) 0:00:24.070 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.037) 0:00:24.108 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.055) 0:00:24.164 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.076) 0:00:24.240 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.037) 0:00:24.278 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004019", "end": "2024-02-29 00:18:38.975075", "rc": 0, "start": "2024-02-29 00:18:38.971056" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:18:38 +0000 (0:00:00.146) 0:00:24.424 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.030) 0:00:24.455 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.031) 0:00:24.486 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.047) 0:00:24.534 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.052) 0:00:24.586 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.048) 0:00:24.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.033) 0:00:24.668 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.031) 0:00:24.699 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:39 +0000 (0:00:00.031) 0:00:24.731 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:40 +0000 (0:00:00.758) 0:00:25.489 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:41 +0000 (0:00:01.034) 0:00:26.524 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.030) 0:00:26.555 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.028) 0:00:26.583 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.030) 0:00:26.614 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.027) 0:00:26.641 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.034) 0:00:26.675 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.034) 0:00:26.709 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.052) 0:00:26.762 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.031) 0:00:26.794 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.029) 0:00:26.824 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.033) 0:00:26.857 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.029) 0:00:26.886 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.026) 0:00:26.913 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.254) 0:00:27.168 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmphb2g0ozb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:41 +0000 (0:00:00.218) 0:00:27.386 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.237) 0:00:27.623 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.030) 0:00:27.654 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.029) 0:00:27.684 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.063) 0:00:27.747 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.030) 0:00:27.778 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.150) 0:00:27.928 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.031) 0:00:27.960 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.049) 0:00:28.009 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.047) 0:00:28.057 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.032) 0:00:28.089 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.030) 0:00:28.120 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:42 +0000 (0:00:00.032) 0:00:28.152 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:43 +0000 (0:00:00.756) 0:00:28.909 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.971) 0:00:29.880 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.031) 0:00:29.911 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.030) 0:00:29.942 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.062) 0:00:30.004 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.029) 0:00:30.034 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.037) 0:00:30.071 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.037) 0:00:30.108 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.054) 0:00:30.163 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.033) 0:00:30.196 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.031) 0:00:30.228 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.037) 0:00:30.266 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.031) 0:00:30.298 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:44 +0000 (0:00:00.028) 0:00:30.326 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.258) 0:00:30.585 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpfoek17ue" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.217) 0:00:30.802 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.483) 0:00:31.286 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.032) 0:00:31.318 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.035) 0:00:31.353 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.032) 0:00:31.386 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:45 +0000 (0:00:00.031) 0:00:31.418 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.151) 0:00:31.569 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.081) 0:00:31.651 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.050) 0:00:31.701 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.048) 0:00:31.749 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.034) 0:00:31.784 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.030) 0:00:31.815 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:46 +0000 (0:00:00.030) 0:00:31.845 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:47 +0000 (0:00:00.768) 0:00:32.613 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.973) 0:00:33.587 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.030) 0:00:33.617 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.029) 0:00:33.647 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.030) 0:00:33.677 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.030) 0:00:33.708 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.067) 0:00:33.776 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.034) 0:00:33.811 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.053) 0:00:33.865 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.030) 0:00:33.895 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.031) 0:00:33.927 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.036) 0:00:33.963 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.033) 0:00:33.997 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.029) 0:00:34.026 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:48 +0000 (0:00:00.252) 0:00:34.278 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpllqp75d4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.216) 0:00:34.495 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.242) 0:00:34.737 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.033) 0:00:34.770 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.031) 0:00:34.802 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.031) 0:00:34.833 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.031) 0:00:34.865 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.151) 0:00:35.017 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.047) 0:00:35.064 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.074) 0:00:35.139 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165925.764383, "block_size": 4096, "blocks": 0, "ctime": 1709165925.7633832, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1709165925.7633832, "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_hotfix3ssg0usw/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.145) 0:00:35.284 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.030) 0:00:35.315 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.042) 0:00:35.357 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:18:49 +0000 (0:00:00.029) 0:00:35.387 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.143) 0:00:35.530 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.031) 0:00:35.561 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023836", "end": "2024-02-29 00:18:50.283724", "rc": 1, "start": "2024-02-29 00:18:50.259888" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.172) 0:00:35.734 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.032) 0:00:35.767 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.030) 0:00:35.797 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.034) 0:00:35.832 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.029) 0:00:35.862 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.030) 0:00:35.892 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.031) 0:00:35.924 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.030) 0:00:35.955 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.032) 0:00:35.987 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.087) 0:00:36.074 ***** 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.049698", "end": "2024-02-29 00:18:50.820384", "rc": 0, "start": "2024-02-29 00:18:50.770686" } 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_hotfix3ssg0usw/tests/playbooks/tests_states.yml:102 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.196) 0:00:36.271 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.043) 0:00:36.314 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.030) 0:00:36.345 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:18:50 +0000 (0:00:00.054) 0:00:36.400 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.042) 0:00:36.442 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.043) 0:00:36.486 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004171", "end": "2024-02-29 00:18:51.215812", "rc": 0, "start": "2024-02-29 00:18:51.211641" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.183) 0:00:36.670 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.031) 0:00:36.701 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.038) 0:00:36.739 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.050) 0:00:36.789 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.052) 0:00:36.841 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.091) 0:00:36.933 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.034) 0:00:36.968 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.032) 0:00:37.001 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:51 +0000 (0:00:00.031) 0:00:37.033 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:52 +0000 (0:00:00.758) 0:00:37.791 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.976) 0:00:38.767 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.032) 0:00:38.800 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.030) 0:00:38.830 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.032) 0:00:38.863 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.029) 0:00:38.892 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.035) 0:00:38.927 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.037) 0:00:38.964 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.054) 0:00:39.019 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.032) 0:00:39.051 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.031) 0:00:39.083 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.038) 0:00:39.121 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.069) 0:00:39.191 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:53 +0000 (0:00:00.030) 0:00:39.221 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.253) 0:00:39.474 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpd5j3nr7q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.216) 0:00:39.691 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.241) 0:00:39.933 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.030) 0:00:39.963 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.032) 0:00:39.995 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.031) 0:00:40.027 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.030) 0:00:40.057 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.156) 0:00:40.213 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.037) 0:00:40.251 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.055) 0:00:40.307 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.048) 0:00:40.356 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.035) 0:00:40.391 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:54 +0000 (0:00:00.032) 0:00:40.423 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:55 +0000 (0:00:00.031) 0:00:40.454 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:55 +0000 (0:00:00.833) 0:00:41.287 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:18:56 +0000 (0:00:00.976) 0:00:42.264 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:18:56 +0000 (0:00:00.032) 0:00:42.297 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:18:56 +0000 (0:00:00.030) 0:00:42.328 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:18:56 +0000 (0:00:00.032) 0:00:42.361 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:18:56 +0000 (0:00:00.031) 0:00:42.392 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.039) 0:00:42.431 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.037) 0:00:42.469 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.053) 0:00:42.522 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.032) 0:00:42.555 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.031) 0:00:42.587 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.036) 0:00:42.623 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.032) 0:00:42.656 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.031) 0:00:42.688 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.252) 0:00:42.940 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpfts10dre" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:18:57 +0000 (0:00:00.220) 0:00:43.160 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.561) 0:00:43.721 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.031) 0:00:43.752 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.032) 0:00:43.785 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.032) 0:00:43.818 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.032) 0:00:43.851 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.151) 0:00:44.002 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.049) 0:00:44.052 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.045) 0:00:44.097 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.032) 0:00:44.130 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.030) 0:00:44.160 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:18:58 +0000 (0:00:00.030) 0:00:44.190 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:18:59 +0000 (0:00:00.749) 0:00:44.940 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:00 +0000 (0:00:01.017) 0:00:45.958 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.069) 0:00:46.028 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.030) 0:00:46.058 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.032) 0:00:46.091 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.030) 0:00:46.122 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.035) 0:00:46.157 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.036) 0:00:46.193 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.053) 0:00:46.247 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.033) 0:00:46.281 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.031) 0:00:46.312 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.034) 0:00:46.347 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.030) 0:00:46.377 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:00 +0000 (0:00:00.027) 0:00:46.405 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.254) 0:00:46.660 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpk0shi4bj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.231) 0:00:46.891 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.254) 0:00:47.145 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.033) 0:00:47.179 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.031) 0:00:47.211 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.032) 0:00:47.244 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:01 +0000 (0:00:00.031) 0:00:47.275 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.190) 0:00:47.466 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.047) 0:00:47.513 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.049) 0:00:47.563 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.046) 0:00:47.610 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.035) 0:00:47.645 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.030) 0:00:47.675 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:19:02 +0000 (0:00:00.032) 0:00:47.708 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:19:03 +0000 (0:00:00.790) 0:00:48.498 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.985) 0:00:49.483 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.031) 0:00:49.515 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.032) 0:00:49.548 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.069) 0:00:49.617 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.030) 0:00:49.647 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.037) 0:00:49.685 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.035) 0:00:49.720 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.055) 0:00:49.775 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.030) 0:00:49.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.031) 0:00:49.838 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.035) 0:00:49.873 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.029) 0:00:49.903 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.029) 0:00:49.932 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.255) 0:00:50.187 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmprae_3tud" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:04 +0000 (0:00:00.224) 0:00:50.411 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.238) 0:00:50.649 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.031) 0:00:50.681 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.031) 0:00:50.713 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.031) 0:00:50.745 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.033) 0:00:50.779 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.149) 0:00:50.928 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.084) 0:00:51.013 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.042) 0:00:51.056 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.032) 0:00:51.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.145) 0:00:51.233 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.029) 0:00:51.263 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023379", "end": "2024-02-29 00:19:05.983131", "rc": 1, "start": "2024-02-29 00:19:05.959752" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.172) 0:00:51.435 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.030) 0:00:51.465 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.030) 0:00:51.496 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.030) 0:00:51.526 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.028) 0:00:51.555 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.031) 0:00:51.586 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.031) 0:00:51.618 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.032) 0:00:51.651 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.031) 0:00:51.683 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.047) 0:00:51.730 ***** 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.051919", "end": "2024-02-29 00:19:06.481484", "rc": 0, "start": "2024-02-29 00:19:06.429565" } 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_hotfix3ssg0usw/tests/playbooks/tests_states.yml:124 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.202) 0:00:51.932 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.077) 0:00:52.010 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.029) 0:00:52.040 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.053) 0:00:52.093 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.039) 0:00:52.132 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.038) 0:00:52.171 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004068", "end": "2024-02-29 00:19:06.870783", "rc": 0, "start": "2024-02-29 00:19:06.866715" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.148) 0:00:52.320 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.034) 0:00:52.354 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.031) 0:00:52.385 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.048) 0:00:52.434 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.049) 0:00:52.484 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.046) 0:00:52.530 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.033) 0:00:52.564 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.065) 0:00:52.629 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.031) 0:00:52.660 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.771) 0:00:53.432 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.969) 0:00:54.402 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.030) 0:00:54.433 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.029) 0:00:54.462 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.029) 0:00:54.491 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.028) 0:00:54.519 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.037) 0:00:54.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.035) 0:00:54.592 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.052) 0:00:54.644 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.033) 0:00:54.678 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.035) 0:00:54.714 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.036) 0:00:54.750 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.030) 0:00:54.781 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.029) 0:00:54.810 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.287) 0:00:55.098 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpof58xbqe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.216) 0:00:55.315 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.237) 0:00:55.552 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.030) 0:00:55.582 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.031) 0:00:55.614 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.030) 0:00:55.645 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.031) 0:00:55.677 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.149) 0:00:55.826 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.031) 0:00:55.858 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.048) 0:00:55.907 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.047) 0:00:55.955 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.035) 0:00:55.990 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.032) 0:00:56.022 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.030) 0:00:56.053 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.752) 0:00:56.806 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:12 +0000 (0:00:01.082) 0:00:57.888 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.032) 0:00:57.920 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.035) 0:00:57.955 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.033) 0:00:57.989 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.037) 0:00:58.027 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.040) 0:00:58.067 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.038) 0:00:58.106 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.057) 0:00:58.163 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.032) 0:00:58.196 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.032) 0:00:58.228 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.036) 0:00:58.265 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.031) 0:00:58.297 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:12 +0000 (0:00:00.029) 0:00:58.326 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.253) 0:00:58.579 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmpakzp0qww" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.222) 0:00:58.801 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.534) 0:00:59.336 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.030) 0:00:59.367 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.075) 0:00:59.443 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.032) 0:00:59.475 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.031) 0:00:59.507 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.149) 0:00:59.657 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.053) 0:00:59.710 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.052) 0:00:59.762 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.034) 0:00:59.797 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.032) 0:00:59.829 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.031) 0:00:59.861 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.755) 0:01:00.616 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.982) 0:01:01.598 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.031) 0:01:01.630 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.030) 0:01:01.660 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.066) 0:01:01.727 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.029) 0:01:01.757 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.037) 0:01:01.795 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.035) 0:01:01.831 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.052) 0:01:01.883 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.030) 0:01:01.914 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.029) 0:01:01.943 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.036) 0:01:01.980 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.030) 0:01:02.010 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.027) 0:01:02.037 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.253) 0:01:02.291 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmp1ii5wb3m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.221) 0:01:02.513 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.251) 0:01:02.764 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.031) 0:01:02.796 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.034) 0:01:02.830 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.033) 0:01:02.863 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.031) 0:01:02.895 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.152) 0:01:03.048 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.080) 0:01:03.129 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.051) 0:01:03.180 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.047) 0:01:03.227 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.033) 0:01:03.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.030) 0:01:03.292 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.031) 0:01:03.323 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.754) 0:01:04.078 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.976) 0:01:05.054 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.032) 0:01:05.087 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.032) 0:01:05.119 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.031) 0:01:05.151 ***** 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 due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.031) 0:01:05.182 ***** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.079) 0:01:05.262 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.035) 0:01:05.298 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.055) 0:01:05.354 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.031) 0:01:05.386 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.036) 0:01:05.422 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.035) 0:01:05.458 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.033) 0:01:05.491 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.029) 0:01:05.521 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.254) 0:01:05.775 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11528fht0zq6w/tmp9tmjs5sl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.235) 0:01:06.011 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.249) 0:01:06.260 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.034) 0:01:06.295 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.041) 0:01:06.336 ***** 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_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.037) 0:01:06.374 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.032) 0:01:06.406 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.152) 0:01:06.558 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.046) 0:01:06.605 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.088) 0:01:06.694 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.029) 0:01:06.724 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.141) 0:01:06.865 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.030) 0:01:06.896 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023224", "end": "2024-02-29 00:19:21.614212", "rc": 1, "start": "2024-02-29 00:19:21.590988" } 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.168) 0:01:07.064 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.029) 0:01:07.093 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.029) 0:01:07.123 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.029) 0:01:07.152 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.030) 0:01:07.182 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.031) 0:01:07.214 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.032) 0:01:07.246 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.690378", "end": "2024-02-29 00:19:22.632727", "rc": 0, "start": "2024-02-29 00:19:21.942349" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.838) 0:01:08.084 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.030) 0:01:08.114 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.030) 0:01:08.145 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.032) 0:01:08.177 ***** 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_hotfix3ssg0usw/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.032) 0:01:08.210 ***** included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/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_hotfix3ssg0usw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.048) 0:01:08.259 ***** 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.048792", "end": "2024-02-29 00:19:23.003390", "rc": 0, "start": "2024-02-29 00:19:22.954598" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:19:23 +0000 (0:00:00.245) 0:01:08.505 ***** 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.008154", "end": "2024-02-29 00:19:23.207135", "rc": 0, "start": "2024-02-29 00:19:23.198981" } 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:9b:f3:f0:fd:eb brd ff:ff:ff:ff:ff:ff inet 10.31.45.26/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3111sec preferred_lft 3111sec inet6 fe80::9b:f3ff:fef0:fdeb/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 22:2b:68:24:78:7e brd ff:ff:ff:ff:ff:ff 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.45.26 metric 100 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 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_hotfix3ssg0usw/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:19:23 +0000 (0:00:00.154) 0:01:08.659 ***** 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.653673", "end": "2024-02-29 00:19:24.014341", "rc": 0, "start": "2024-02-29 00:19:23.360668" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.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 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 1560 0 --:--:-- --:--:-- --:--:-- 1564 % 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 674 0 --:--:-- --:--:-- --:--:-- 673 100 291 100 291 0 0 674 0 --:--:-- --:--:-- --:--:-- 673 PLAY RECAP ********************************************************************* sut : ok=337 changed=13 unreachable=0 failed=0 skipped=270 rescued=0 ignored=10 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.837) 0:01:09.497 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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_hotfix3ssg0usw/.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_hotfix3ssg0usw/.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.02s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.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.01s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.84s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Verify DNS and network connectivity ------------------------------------- 0.84s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/tests/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.79s /WORKDIR/git-nm_plugin_hotfix3ssg0usw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---