# 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_hotfixmi2wl21i/.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_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/tests_states_initscripts.yml:5 Tuesday 05 March 2024 21:27:33 +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_hotfixmi2wl21i/tests/tests_states_initscripts.yml:8 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.802) 0:00:00.814 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:3 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.011) 0:00:00.825 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:17 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.242) 0:00:01.068 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:22 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.212) 0:00:01.280 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:26 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.016) 0:00:01.297 ********* 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_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:51 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.008) 0:00:01.306 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml:8 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.021) 0:00:01.327 ********* 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_hotfixmi2wl21i/tests/tasks/enable_epel.yml:24 Tuesday 05 March 2024 21:27:34 +0000 (0:00:00.196) 0:00:01.523 ********* 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_hotfixmi2wl21i/tests/tasks/enable_epel.yml:30 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.446) 0:00:01.970 ********* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190761", "end": "2024-03-05 21:27:35.748896", "rc": 0, "start": "2024-03-05 21:27:35.558135" } 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_hotfixmi2wl21i/tests/tasks/enable_epel.yml:35 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.328) 0:00:02.298 ********* 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_hotfixmi2wl21i/tests/tasks/enable_epel.yml:40 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.008) 0:00:02.307 ********* 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_hotfixmi2wl21i/tests/tests_states_initscripts.yml:10 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.007) 0:00:02.315 ********* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:3 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.016) 0:00:02.331 ********* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:11 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.590) 0:00:02.922 ********* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:22 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.019) 0:00:02.941 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.022) 0:00:02.964 ********* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.021) 0:00:02.986 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.056) 0:00:03.043 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.035) 0:00:03.078 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.021) 0:00:03.099 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004227", "end": "2024-03-05 21:27:36.701601", "rc": 0, "start": "2024-03-05 21:27:36.697374" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.150) 0:00:03.250 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.019) 0:00:03.270 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.021) 0:00:03.292 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.029) 0:00:03.321 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013583", "end": "2024-03-05 21:27:36.933255", "rc": 1, "start": "2024-03-05 21:27:36.919672" } 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.162) 0:00:03.484 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.026) 0:00:03.510 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.144) 0:00:03.654 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.020) 0:00:03.674 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.029) 0:00:03.703 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.035) 0:00:03.739 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.032) 0:00:03.772 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.019) 0:00:03.791 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.019) 0:00:03.811 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.019) 0:00:03.830 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.922) 0:00:04.753 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:39 +0000 (0:00:01.224) 0:00:05.977 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.041) 0:00:06.018 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.030) 0:00:06.048 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.027) 0:00:06.076 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.025) 0:00:06.101 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.032) 0:00:06.134 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.040) 0:00:06.174 ********* changed: [sut] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: dl.fedoraproject.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:42 +0000 (0:00:02.777) 0:00:08.952 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.047) 0:00:08.999 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.029) 0:00:09.029 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.035) 0:00:09.064 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.031) 0:00:09.096 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.033) 0:00:09.129 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.441) 0:00:09.571 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmppoaephhf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.236) 0:00:09.808 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.384) 0:00:10.193 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.031) 0:00:10.224 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.033) 0:00:10.257 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.029) 0:00:10.287 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.037) 0:00:10.325 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.270) 0:00:10.595 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.039) 0:00:10.634 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.056) 0:00:10.691 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.040) 0:00:10.731 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.053) 0:00:10.785 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674063.6295643, "block_size": 4096, "blocks": 8, "ctime": 1709674063.6295643, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674063.6295643, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.161) 0:00:10.946 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.042) 0:00:10.989 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.029567", "end": "2024-03-05 21:27:44.618140", "rc": 1, "start": "2024-03-05 21:27:44.588573" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.187) 0:00:11.177 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.026) 0:00:11.204 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004281", "end": "2024-03-05 21:27:44.804693", "rc": 0, "start": "2024-03-05 21:27:44.800412" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.160) 0:00:11.364 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.038) 0:00:11.403 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004169", "end": "2024-03-05 21:27:45.011057", "rc": 0, "start": "2024-03-05 21:27:45.006888" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.184) 0:00:11.587 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.033) 0:00:11.620 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.031) 0:00:11.652 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.030) 0:00:11.682 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.029) 0:00:11.712 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.030) 0:00:11.743 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.029) 0:00:11.772 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.043) 0:00:11.815 ********* 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.055296", "end": "2024-03-05 21:27:45.467152", "rc": 1, "start": "2024-03-05 21:27:45.411856" } 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_hotfixmi2wl21i/tests/playbooks/tests_states.yml:45 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.208) 0:00:12.023 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.038) 0:00:12.062 ********* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.051) 0:00:12.113 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.053) 0:00:12.167 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.043) 0:00:12.210 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.039) 0:00:12.249 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004308", "end": "2024-03-05 21:27:45.849425", "rc": 0, "start": "2024-03-05 21:27:45.845117" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.158) 0:00:12.408 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.028) 0:00:12.436 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.027) 0:00:12.464 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.040) 0:00:12.504 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008400", "end": "2024-03-05 21:27:46.110095", "rc": 1, "start": "2024-03-05 21:27:46.101695" } 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.161) 0:00:12.665 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.038) 0:00:12.703 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.152) 0:00:12.856 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.030) 0:00:12.886 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.049) 0:00:12.936 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.096) 0:00:13.033 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.050) 0:00:13.083 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.040) 0:00:13.123 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.031) 0:00:13.154 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.028) 0:00:13.183 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.837) 0:00:14.020 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:48 +0000 (0:00:01.065) 0:00:15.085 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.030) 0:00:15.116 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.035) 0:00:15.152 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.030) 0:00:15.182 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.028) 0:00:15.211 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.034) 0:00:15.245 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.034) 0:00:15.280 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.051) 0:00:15.331 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.057) 0:00:15.389 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.034) 0:00:15.423 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.036) 0:00:15.460 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.031) 0:00:15.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.027) 0:00:15.518 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.279) 0:00:15.798 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpqd3hi88x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.235) 0:00:16.033 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.257) 0:00:16.291 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.028) 0:00:16.320 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.028) 0:00:16.348 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.028) 0:00:16.377 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.029) 0:00:16.407 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.157) 0:00:16.565 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.029) 0:00:16.595 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.045) 0:00:16.640 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.038) 0:00:16.679 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.176) 0:00:16.855 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.029) 0:00:16.885 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.039) 0:00:16.924 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.027) 0:00:16.952 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674069.7315643, "block_size": 4096, "blocks": 8, "ctime": 1709674069.7315643, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674069.7315643, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.154) 0:00:17.106 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.028) 0:00:17.135 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024968", "end": "2024-03-05 21:27:50.759092", "rc": 1, "start": "2024-03-05 21:27:50.734124" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.181) 0:00:17.316 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.028) 0:00:17.345 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004288", "end": "2024-03-05 21:27:50.950097", "rc": 0, "start": "2024-03-05 21:27:50.945809" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.163) 0:00:17.508 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.033) 0:00:17.541 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004229", "end": "2024-03-05 21:27:51.145939", "rc": 0, "start": "2024-03-05 21:27:51.141710" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.162) 0:00:17.703 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.032) 0:00:17.736 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.031) 0:00:17.768 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.031) 0:00:17.800 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.030) 0:00:17.830 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.024) 0:00:17.855 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.029) 0:00:17.884 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.066) 0:00:17.951 ********* 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.050272", "end": "2024-03-05 21:27:51.599015", "rc": 1, "start": "2024-03-05 21:27:51.548743" } 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_hotfixmi2wl21i/tests/playbooks/tests_states.yml:65 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.204) 0:00:18.155 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.040) 0:00:18.196 ********* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.033) 0:00:18.230 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.054) 0:00:18.284 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.043) 0:00:18.328 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.038) 0:00:18.366 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004259", "end": "2024-03-05 21:27:51.969374", "rc": 0, "start": "2024-03-05 21:27:51.965115" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.160) 0:00:18.527 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.031) 0:00:18.559 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.031) 0:00:18.590 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.051) 0:00:18.642 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.049) 0:00:18.691 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.074) 0:00:18.766 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.041) 0:00:18.807 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.031) 0:00:18.839 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.029) 0:00:18.868 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:53 +0000 (0:00:00.832) 0:00:19.701 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:54 +0000 (0:00:01.063) 0:00:20.765 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.031) 0:00:20.796 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.030) 0:00:20.826 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.042) 0:00:20.868 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.031) 0:00:20.900 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.083) 0:00:20.983 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.043) 0:00:21.027 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.067) 0:00:21.095 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.035) 0:00:21.130 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.032) 0:00:21.163 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.047) 0:00:21.210 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.081) 0:00:21.292 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.031) 0:00:21.323 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.276) 0:00:21.599 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpg4vkr0e4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.263) 0:00:21.863 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.259) 0:00:22.122 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.033) 0:00:22.156 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.055) 0:00:22.211 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.035) 0:00:22.247 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.060) 0:00:22.307 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.167) 0:00:22.475 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.037) 0:00:22.513 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.045) 0:00:22.558 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.049) 0:00:22.608 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.046) 0:00:22.655 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.040) 0:00:22.695 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.073) 0:00:22.768 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.037) 0:00:22.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 : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.841) 0:00:23.647 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:58 +0000 (0:00:01.109) 0:00:24.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.040) 0:00:24.798 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.054) 0:00:24.853 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.041) 0:00:24.894 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.032) 0:00:24.926 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.057) 0:00:24.984 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.036) 0:00:25.020 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.053) 0:00:25.074 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.032) 0:00:25.106 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.038) 0:00:25.145 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.036) 0:00:25.181 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.032) 0:00:25.214 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.035) 0:00:25.249 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.358) 0:00:25.607 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp81oa0f40" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.233) 0:00:25.841 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.531) 0:00:26.373 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.030) 0:00:26.404 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.031) 0:00:26.435 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.032) 0:00:26.468 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.031) 0:00:26.499 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.178) 0:00:26.678 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.045) 0:00:26.724 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.038) 0:00:26.763 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674079.7365642, "block_size": 4096, "blocks": 0, "ctime": 1709674079.7355642, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17769, "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": 1709674079.7355642, "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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.164) 0:00:26.928 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.035) 0:00:26.963 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.065) 0:00:27.028 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.031) 0:00:27.060 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674079.5405643, "block_size": 4096, "blocks": 8, "ctime": 1709674075.5615642, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674075.5615642, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.174) 0:00:27.235 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.099) 0:00:27.334 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025281", "end": "2024-03-05 21:28:00.963680", "rc": 1, "start": "2024-03-05 21:28:00.938399" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.185) 0:00:27.520 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.028) 0:00:27.549 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004265", "end": "2024-03-05 21:28:01.151363", "rc": 0, "start": "2024-03-05 21:28:01.147098" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.161) 0:00:27.710 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.032) 0:00:27.743 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004111", "end": "2024-03-05 21:28:01.347284", "rc": 0, "start": "2024-03-05 21:28:01.343173" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.163) 0:00:27.907 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.035) 0:00:27.942 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.036) 0:00:27.979 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.036) 0:00:28.015 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.039) 0:00:28.055 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.031) 0:00:28.087 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.029) 0:00:28.116 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.045) 0:00:28.162 ********* 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.057027", "end": "2024-03-05 21:28:01.817153", "rc": 0, "start": "2024-03-05 21:28:01.760126" } 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_hotfixmi2wl21i/tests/playbooks/tests_states.yml:83 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.213) 0:00:28.375 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.041) 0:00:28.417 ********* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.030) 0:00:28.447 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.087) 0:00:28.535 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.040) 0:00:28.575 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.038) 0:00:28.613 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004225", "end": "2024-03-05 21:28:02.215906", "rc": 0, "start": "2024-03-05 21:28:02.211681" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.159) 0:00:28.773 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.031) 0:00:28.805 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.030) 0:00:28.835 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.045) 0:00:28.881 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.052) 0:00:28.934 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.050) 0:00:28.984 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.034) 0:00:29.018 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.035) 0:00:29.053 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.030) 0:00:29.084 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.838) 0:00:29.922 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:04 +0000 (0:00:01.127) 0:00:31.049 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.030) 0:00:31.080 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.041) 0:00:31.122 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.032) 0:00:31.154 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.027) 0:00:31.181 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.035) 0:00:31.217 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.034) 0:00:31.251 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.054) 0:00:31.306 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.030) 0:00:31.337 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.030) 0:00:31.367 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.036) 0:00:31.403 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.029) 0:00:31.433 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.027) 0:00:31.461 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.274) 0:00:31.736 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpr4j1ebtl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.236) 0:00:31.972 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.285) 0:00:32.258 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.029) 0:00:32.288 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.064) 0:00:32.353 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.031) 0:00:32.384 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.032) 0:00:32.417 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.169) 0:00:32.586 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.034) 0:00:32.621 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.053) 0:00:32.675 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.089) 0:00:32.764 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.039) 0:00:32.804 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.032) 0:00:32.836 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.038) 0:00:32.875 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.831) 0:00:33.707 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:08 +0000 (0:00:01.065) 0:00:34.772 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.033) 0:00:34.805 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.065) 0:00:34.871 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.031) 0:00:34.902 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.029) 0:00:34.932 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.034) 0:00:34.966 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.033) 0:00:34.999 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.053) 0:00:35.052 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.029) 0:00:35.082 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.031) 0:00:35.114 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.035) 0:00:35.149 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.033) 0:00:35.183 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.031) 0:00:35.215 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.274) 0:00:35.489 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp3jf81mqd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.241) 0:00:35.731 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.516) 0:00:36.248 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.030) 0:00:36.278 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.030) 0:00:36.308 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.030) 0:00:36.338 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.033) 0:00:36.372 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.190) 0:00:36.563 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.043) 0:00:36.606 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.048) 0:00:36.655 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.045) 0:00:36.700 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.032) 0:00:36.732 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.035) 0:00:36.768 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.031) 0:00:36.800 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.842) 0:00:37.642 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:12 +0000 (0:00:01.090) 0:00:38.732 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.030) 0:00:38.763 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.029) 0:00:38.792 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.034) 0:00:38.827 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.064) 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.036) 0:00:38.928 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.034) 0:00:38.963 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.052) 0:00:39.015 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.033) 0:00:39.049 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.031) 0:00:39.081 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.033) 0:00:39.114 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.031) 0:00:39.146 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.026) 0:00:39.172 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.272) 0:00:39.445 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp8bwnpvay" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.232) 0:00:39.678 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.257) 0:00:39.935 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.031) 0:00:39.967 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.031) 0:00:39.999 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.030) 0:00:40.029 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.029) 0:00:40.059 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.164) 0:00:40.223 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.078) 0:00:40.301 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.054) 0:00:40.356 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674089.615564, "block_size": 4096, "blocks": 0, "ctime": 1709674089.6145642, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17769, "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": 1709674089.6145642, "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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.172) 0:00:40.528 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.030) 0:00:40.558 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.041) 0:00:40.600 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.032) 0:00:40.632 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.160) 0:00:40.792 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.030) 0:00:40.822 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025707", "end": "2024-03-05 21:28:14.468401", "rc": 1, "start": "2024-03-05 21:28:14.442694" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.209) 0:00:41.031 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.036) 0:00:41.068 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.042) 0:00:41.111 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.034) 0:00:41.146 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.030) 0:00:41.176 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.042) 0:00:41.219 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.030) 0:00:41.250 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.035) 0:00:41.285 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.040) 0:00:41.325 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.072) 0:00:41.398 ********* 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.053968", "end": "2024-03-05 21:28:15.052165", "rc": 0, "start": "2024-03-05 21:28:14.998197" } 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_hotfixmi2wl21i/tests/playbooks/tests_states.yml:102 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.213) 0:00:41.612 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.044) 0:00:41.656 ********* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.053) 0:00:41.710 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.053) 0:00:41.763 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.040) 0:00:41.804 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.037) 0:00:41.842 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004260", "end": "2024-03-05 21:28:15.443115", "rc": 0, "start": "2024-03-05 21:28:15.438855" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.166) 0:00:42.008 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.039) 0:00:42.047 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.036) 0:00:42.084 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.068) 0:00:42.153 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.064) 0:00:42.217 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.097) 0:00:42.315 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.039) 0:00:42.355 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.041) 0:00:42.396 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.034) 0:00:42.430 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:16 +0000 (0:00:00.872) 0:00:43.303 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:17 +0000 (0:00:01.058) 0:00:44.361 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.032) 0:00:44.394 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.031) 0:00:44.425 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.031) 0:00:44.456 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.028) 0:00:44.485 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.035) 0:00:44.520 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.035) 0:00:44.556 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.053) 0:00:44.610 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.031) 0:00:44.641 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.030) 0:00:44.671 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.070) 0:00:44.741 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.030) 0:00:44.772 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.027) 0:00:44.800 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.272) 0:00:45.072 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpaxse3tc3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.236) 0:00:45.309 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.260) 0:00:45.569 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.033) 0:00:45.602 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.032) 0:00:45.635 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.031) 0:00:45.666 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.032) 0:00:45.698 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.159) 0:00:45.858 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.029) 0:00:45.888 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.047) 0:00:45.935 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.044) 0:00:45.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 : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.032) 0:00:46.013 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.059) 0:00:46.072 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.030) 0:00:46.103 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:20 +0000 (0:00:00.827) 0:00:46.931 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:21 +0000 (0:00:01.056) 0:00:47.987 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.031) 0:00:48.019 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.029) 0:00:48.048 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.029) 0:00:48.078 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.027) 0:00:48.105 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.034) 0:00:48.139 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.033) 0:00:48.172 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.054) 0:00:48.227 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.031) 0:00:48.258 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.030) 0:00:48.289 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.035) 0:00:48.325 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.030) 0:00:48.356 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.027) 0:00:48.383 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.272) 0:00:48.656 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp5mzz4d8u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.308) 0:00:48.964 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.523) 0:00:49.487 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.030) 0:00:49.518 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.031) 0:00:49.550 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.045) 0:00:49.595 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.034) 0:00:49.629 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.162) 0:00:49.792 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.059) 0:00:49.851 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.054) 0:00:49.906 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.033) 0:00:49.940 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.031) 0:00:49.971 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.030) 0:00:50.002 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:24 +0000 (0:00:00.829) 0:00:50.831 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:25 +0000 (0:00:01.133) 0:00:51.965 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.031) 0:00:51.996 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.030) 0:00:52.026 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.033) 0:00:52.059 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.028) 0:00:52.087 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.034) 0:00:52.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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.033) 0:00:52.155 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.050) 0:00:52.206 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.030) 0:00:52.236 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.036) 0:00:52.272 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.036) 0:00:52.309 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.030) 0:00:52.339 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.026) 0:00:52.366 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.271) 0:00:52.638 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpu9piv8qe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.232) 0:00:52.870 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.259) 0:00:53.130 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.031) 0:00:53.161 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.036) 0:00:53.197 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.063) 0:00:53.260 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.030) 0:00:53.291 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.158) 0:00:53.449 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.043) 0:00:53.492 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.049) 0:00:53.542 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.053) 0:00:53.595 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.033) 0:00:53.628 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.028) 0:00:53.657 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.031) 0:00:53.689 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.829) 0:00:54.519 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:29 +0000 (0:00:01.056) 0:00:55.575 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.030) 0:00:55.606 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.061) 0:00:55.667 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.031) 0:00:55.699 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.032) 0:00:55.732 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.035) 0:00:55.768 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.036) 0:00:55.804 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.054) 0:00:55.859 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.030) 0:00:55.890 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.033) 0:00:55.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.036) 0:00:55.959 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.030) 0:00:55.990 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.028) 0:00:56.018 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.273) 0:00:56.292 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpgedr8g7m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.235) 0:00:56.527 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.258) 0:00:56.785 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.032) 0:00:56.818 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.034) 0:00:56.852 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.032) 0:00:56.885 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.031) 0:00:56.916 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.203) 0:00:57.119 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.045) 0:00:57.165 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.040) 0:00:57.206 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.029) 0:00:57.235 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.151) 0:00:57.386 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.027) 0:00:57.414 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025705", "end": "2024-03-05 21:28:31.037096", "rc": 1, "start": "2024-03-05 21:28:31.011391" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.180) 0:00:57.594 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:57.623 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:57.651 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.027) 0:00:57.679 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.026) 0:00:57.706 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:57.734 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.029) 0:00:57.763 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.030) 0:00:57.794 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:57.822 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.080) 0:00:57.902 ********* 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.056609", "end": "2024-03-05 21:28:31.557151", "rc": 0, "start": "2024-03-05 21:28:31.500542" } 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_hotfixmi2wl21i/tests/playbooks/tests_states.yml:124 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.212) 0:00:58.115 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.040) 0:00:58.155 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:58.184 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.052) 0:00:58.237 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.039) 0:00:58.276 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.039) 0:00:58.315 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004215", "end": "2024-03-05 21:28:31.917316", "rc": 0, "start": "2024-03-05 21:28:31.913101" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.158) 0:00:58.474 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.030) 0:00:58.504 ********* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.028) 0:00:58.533 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.045) 0:00:58.579 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.047) 0:00:58.626 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.046) 0:00:58.673 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.100) 0:00:58.773 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.031) 0:00:58.804 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.029) 0:00:58.833 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.828) 0:00:59.662 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:34 +0000 (0:00:01.054) 0:01:00.716 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.031) 0:01:00.748 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.031) 0:01:00.779 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.031) 0:01:00.811 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.028) 0:01:00.840 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.039) 0:01:00.880 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.035) 0:01:00.915 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.051) 0:01:00.967 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.030) 0:01:00.997 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.029) 0:01:01.026 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.034) 0:01:01.060 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.028) 0:01:01.089 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.061) 0:01:01.150 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.271) 0:01:01.422 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpvzgku1lc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.230) 0:01:01.653 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.258) 0:01:01.911 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.031) 0:01:01.942 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.034) 0:01:01.977 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.032) 0:01:02.010 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.031) 0:01:02.042 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.162) 0:01:02.204 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.031) 0:01:02.236 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.049) 0:01:02.285 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.051) 0:01:02.336 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.041) 0:01:02.378 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.033) 0:01:02.411 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.030) 0:01:02.442 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.895) 0:01:03.338 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:37 +0000 (0:00:01.056) 0:01:04.394 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.030) 0:01:04.425 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.029) 0:01:04.454 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.029) 0:01:04.483 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.026) 0:01:04.510 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.034) 0:01:04.545 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.032) 0:01:04.578 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.051) 0:01:04.630 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.029) 0:01:04.660 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.028) 0:01:04.689 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.033) 0:01:04.722 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.028) 0:01:04.751 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.027) 0:01:04.779 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.271) 0:01:05.051 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmpbwshqdrn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.232) 0:01:05.284 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.598) 0:01:05.882 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.030) 0:01:05.912 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.030) 0:01:05.943 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.030) 0:01:05.973 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.031) 0:01:06.005 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.161) 0:01:06.167 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.051) 0:01:06.218 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.046) 0:01:06.264 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.032) 0:01:06.297 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.033) 0:01:06.331 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.030) 0:01:06.362 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:40 +0000 (0:00:00.827) 0:01:07.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 : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:41 +0000 (0:00:01.098) 0:01:08.288 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.064) 0:01:08.353 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.030) 0:01:08.384 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.032) 0:01:08.416 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.028) 0:01:08.445 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.034) 0:01:08.480 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:41 +0000 (0:00:00.034) 0:01:08.514 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.051) 0:01:08.566 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.030) 0:01:08.596 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.028) 0:01:08.625 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.034) 0:01:08.660 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.029) 0:01:08.690 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.026) 0:01:08.716 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.271) 0:01:08.988 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp5omactrq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.232) 0:01:09.220 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.268) 0:01:09.489 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:42 +0000 (0:00:00.030) 0:01:09.519 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.028) 0:01:09.548 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.030) 0:01:09.578 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.028) 0:01:09.606 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.195) 0:01:09.802 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.045) 0:01:09.847 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.047) 0:01:09.895 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.046) 0:01:09.941 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.033) 0:01:09.974 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.029) 0:01:10.004 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:43 +0000 (0:00:00.032) 0:01:10.036 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:44 +0000 (0:00:00.827) 0:01:10.864 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:45 +0000 (0:00:01.059) 0:01:11.923 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.030) 0:01:11.954 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.032) 0:01:11.986 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.031) 0:01:12.018 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.109) 0:01:12.127 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.036) 0:01:12.164 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.035) 0:01:12.200 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.054) 0:01:12.254 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.030) 0:01:12.284 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.032) 0:01:12.317 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.035) 0:01:12.353 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.030) 0:01:12.383 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:45 +0000 (0:00:00.028) 0:01:12.412 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.273) 0:01:12.686 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11474rc6ue4bi/tmp_0o_bj6g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.232) 0:01:12.919 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.250) 0:01:13.169 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.030) 0:01:13.199 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.031) 0:01:13.230 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.031) 0:01:13.262 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.029) 0:01:13.292 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:46 +0000 (0:00:00.159) 0:01:13.452 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.085) 0:01:13.537 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.042) 0:01:13.579 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.029) 0:01:13.608 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.156) 0:01:13.765 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.027) 0:01:13.793 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025878", "end": "2024-03-05 21:28:47.413215", "rc": 1, "start": "2024-03-05 21:28:47.387337" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.178) 0:01:13.971 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.030) 0:01:14.001 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.029) 0:01:14.031 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.027) 0:01:14.059 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.027) 0:01:14.086 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.027) 0:01:14.114 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 05 March 2024 21:28:47 +0000 (0:00:00.028) 0:01:14.142 ********* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.755043", "end": "2024-03-05 21:28:48.494486", "rc": 0, "start": "2024-03-05 21:28:47.739443" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.911) 0:01:15.053 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.028) 0:01:15.082 ********* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.029) 0:01:15.112 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.029) 0:01:15.141 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.027) 0:01:15.169 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.079) 0:01:15.249 ********* 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.054676", "end": "2024-03-05 21:28:48.901128", "rc": 0, "start": "2024-03-05 21:28:48.846452" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 05 March 2024 21:28:48 +0000 (0:00:00.209) 0:01:15.458 ********* 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.008277", "end": "2024-03-05 21:28:49.062321", "rc": 0, "start": "2024-03-05 21:28:49.054044" } 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 0e:30:7c:f0:66:59 brd ff:ff:ff:ff:ff:ff inet 10.31.42.32/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3133sec preferred_lft 3133sec inet6 fe80::c30:7cff:fef0:6659/64 scope link valid_lft forever preferred_lft forever 12: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether f6:30:cb:16:ba:1e brd ff:ff:ff:ff:ff:ff 43: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 86:04:41:2c:42:f1 brd ff:ff:ff:ff:ff:ff 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 4e:ce:22:ec:1e:50 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::4cce:22ff:feec:1e50/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.32 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 05 March 2024 21:28:49 +0000 (0:00:00.161) 0:01:15.619 ********* 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.532370", "end": "2024-03-05 21:28:49.748575", "rc": 0, "start": "2024-03-05 21:28:49.216205" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1214 0 --:--:-- --:--:-- --:--:-- 1220 % 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 1121 0 --:--:-- --:--:-- --:--:-- 1123 PLAY RECAP ********************************************************************* sut : ok=338 changed=14 unreachable=0 failed=0 skipped=269 rescued=0 ignored=10 Tuesday 05 March 2024 21:28:49 +0000 (0:00:00.716) 0:01:16.336 ********* =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.78s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.13s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.13s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.11s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.10s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.07s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.07s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.06s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.92s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.91s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.87s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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. ---^---^---^---^---^---