# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/tests_states_initscripts.yml:5 Thursday 29 February 2024 00:19:05 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tests_states_initscripts.yml:8 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.588) 0:00:00.599 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.022) 0:00:00.622 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:19 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.223) 0:00:00.845 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:24 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.188) 0:00:01.033 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:28 Thursday 29 February 2024 00:19:06 +0000 (0:00:00.020) 0:00:01.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:53 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.018) 0:00:01.072 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.032) 0:00:01.105 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.188) 0:00:01.293 ***** 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_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:19:07 +0000 (0:00:00.511) 0:00:01.804 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176082", "end": "2024-02-29 00:19:08.050516", "rc": 0, "start": "2024-02-29 00:19:07.874434" } 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_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.329) 0:00:02.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.013) 0:00:02.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tests_states_initscripts.yml:10 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.158 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:3 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.011) 0:00:02.169 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:11 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.388) 0:00:02.557 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:22 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.010) 0:00:02.568 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.017) 0:00:02.585 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.012) 0:00:02.598 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.036) 0:00:02.635 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.016) 0:00:02.652 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.013) 0:00:02.666 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-02-29 00:19:08.717460", "rc": 0, "start": "2024-02-29 00:19:08.713989" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.149) 0:00:02.815 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.022) 0:00:02.838 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.019) 0:00:02.858 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.035) 0:00:02.893 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010823", "end": "2024-02-29 00:19:08.949851", "rc": 1, "start": "2024-02-29 00:19:08.939028" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:08 +0000 (0:00:00.160) 0:00:03.054 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.027) 0:00:03.081 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.185) 0:00:03.267 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.016) 0:00:03.283 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.037) 0:00:03.320 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.102) 0:00:03.423 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.024) 0:00:03.448 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.018) 0:00:03.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.011) 0:00:03.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:09 +0000 (0:00:00.012) 0:00:03.491 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:10 +0000 (0:00:00.777) 0:00:04.268 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:11 +0000 (0:00:01.109) 0:00:05.378 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.041) 0:00:05.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.023) 0:00:05.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.022) 0:00:05.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.024) 0:00:05.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.039) 0:00:05.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:11 +0000 (0:00:00.025) 0:00:05.557 ***** 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: d2lzkl7pfhq30w.cloudfront.net\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 [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:13 +0000 (0:00:02.195) 0:00:07.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.022) 0:00:07.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.026) 0:00:07.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.026) 0:00:07.827 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.022) 0:00:07.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:13 +0000 (0:00:00.023) 0:00:07.873 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.387) 0:00:08.261 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp5wa8j4_m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.255) 0:00:08.516 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.336) 0:00:08.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.022) 0:00:08.875 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.022) 0:00:08.898 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.027) 0:00:08.925 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.026) 0:00:08.951 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.212) 0:00:09.164 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.048) 0:00:09.212 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.049) 0:00:09.261 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.045) 0:00:09.307 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.047) 0:00:09.355 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165954.7577143, "block_size": 4096, "blocks": 8, "ctime": 1709165954.7577143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165954.7577143, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.146) 0:00:09.501 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.046) 0:00:09.547 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024447", "end": "2024-02-29 00:19:15.621182", "rc": 1, "start": "2024-02-29 00:19:15.596735" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.166) 0:00:09.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.022) 0:00:09.736 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003421", "end": "2024-02-29 00:19:15.783285", "rc": 0, "start": "2024-02-29 00:19:15.779864" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.141) 0:00:09.878 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.031) 0:00:09.910 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003455", "end": "2024-02-29 00:19:15.952711", "rc": 0, "start": "2024-02-29 00:19:15.949256" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.137) 0:00:10.047 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.028) 0:00:10.075 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.026) 0:00:10.101 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.036) 0:00:10.138 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.069) 0:00:10.207 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.064) 0:00:10.272 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.031) 0:00:10.303 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.058) 0:00:10.362 ***** 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.045527", "end": "2024-02-29 00:19:16.462660", "rc": 1, "start": "2024-02-29 00:19:16.417133" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:45 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.202) 0:00:10.564 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.059) 0:00:10.624 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.028) 0:00:10.653 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.048) 0:00:10.702 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.059) 0:00:10.761 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.048) 0:00:10.810 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2024-02-29 00:19:16.890226", "rc": 0, "start": "2024-02-29 00:19:16.886805" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.183) 0:00:10.993 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.023) 0:00:11.017 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.023) 0:00:11.040 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.068) 0:00:11.109 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007254", "end": "2024-02-29 00:19:17.153965", "rc": 1, "start": "2024-02-29 00:19:17.146711" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.139) 0:00:11.248 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.058) 0:00:11.306 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.156) 0:00:11.462 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.031) 0:00:11.494 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.048) 0:00:11.542 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.053) 0:00:11.595 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.050) 0:00:11.646 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.025) 0:00:11.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.042) 0:00:11.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.033) 0:00:11.747 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.751) 0:00:12.498 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.924) 0:00:13.423 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.021) 0:00:13.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.020) 0:00:13.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.020) 0:00:13.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.020) 0:00:13.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.025) 0:00:13.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.023) 0:00:13.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.041) 0:00:13.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.022) 0:00:13.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.021) 0:00:13.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.023) 0:00:13.665 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.040) 0:00:13.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.021) 0:00:13.727 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:19 +0000 (0:00:00.224) 0:00:13.952 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp0nqesoy1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.203) 0:00:14.155 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.226) 0:00:14.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.021) 0:00:14.403 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.022) 0:00:14.425 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.022) 0:00:14.448 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.020) 0:00:14.469 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.127) 0:00:14.596 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.025) 0:00:14.622 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.043) 0:00:14.665 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.035) 0:00:14.701 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.161) 0:00:14.863 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.031) 0:00:14.894 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.042) 0:00:14.937 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.026) 0:00:14.963 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165960.2865584, "block_size": 4096, "blocks": 8, "ctime": 1709165960.2865584, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165960.2865584, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.144) 0:00:15.107 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.024) 0:00:15.131 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022165", "end": "2024-02-29 00:19:21.191227", "rc": 1, "start": "2024-02-29 00:19:21.169062" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.153) 0:00:15.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.024) 0:00:15.310 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003499", "end": "2024-02-29 00:19:21.354909", "rc": 0, "start": "2024-02-29 00:19:21.351410" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.142) 0:00:15.452 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.037) 0:00:15.489 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003443", "end": "2024-02-29 00:19:21.534445", "rc": 0, "start": "2024-02-29 00:19:21.531002" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.140) 0:00:15.630 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.037) 0:00:15.668 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.035) 0:00:15.703 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.027) 0:00:15.730 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.022) 0:00:15.753 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.019) 0:00:15.772 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.050) 0:00:15.823 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.041) 0:00:15.865 ***** 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.042274", "end": "2024-02-29 00:19:21.943826", "rc": 1, "start": "2024-02-29 00:19:21.901552" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:65 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.183) 0:00:16.048 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.042) 0:00:16.091 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.022) 0:00:16.114 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.045) 0:00:16.159 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.038) 0:00:16.198 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.036) 0:00:16.234 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2024-02-29 00:19:22.275165", "rc": 0, "start": "2024-02-29 00:19:22.271702" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.135) 0:00:16.369 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.023) 0:00:16.393 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.021) 0:00:16.414 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.053) 0:00:16.468 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.067) 0:00:16.535 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.041) 0:00:16.577 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.027) 0:00:16.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.024) 0:00:16.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.029) 0:00:16.658 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:23 +0000 (0:00:00.723) 0:00:17.382 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.916) 0:00:18.299 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.055) 0:00:18.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.030) 0:00:18.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.022) 0:00:18.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.031) 0:00:18.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.031) 0:00:18.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.032) 0:00:18.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.045) 0:00:18.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.041) 0:00:18.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.028) 0:00:18.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.032) 0:00:18.651 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.025) 0:00:18.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.020) 0:00:18.697 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.223) 0:00:18.921 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp6yieh4as" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.210) 0:00:19.132 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.226) 0:00:19.358 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.020) 0:00:19.378 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.046) 0:00:19.424 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.023) 0:00:19.448 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.023) 0:00:19.472 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.130) 0:00:19.603 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.022) 0:00:19.626 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.037) 0:00:19.663 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.039) 0:00:19.703 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.041) 0:00:19.744 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.030) 0:00:19.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.024) 0:00:19.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.022) 0:00:19.821 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.723) 0:00:20.545 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.919) 0:00:21.464 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.022) 0:00:21.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.020) 0:00:21.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.021) 0:00:21.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.022) 0:00:21.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.032) 0:00:21.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.053) 0:00:21.638 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.053) 0:00:21.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.031) 0:00:21.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.024) 0:00:21.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.024) 0:00:21.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.046) 0:00:21.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.020) 0:00:21.839 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.227) 0:00:22.067 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpnbke_5oa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.212) 0:00:22.280 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.467) 0:00:22.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.025) 0:00:22.773 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.026) 0:00:22.799 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.026) 0:00:22.825 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.025) 0:00:22.850 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.128) 0:00:22.979 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.043) 0:00:23.023 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.034) 0:00:23.057 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165968.5843244, "block_size": 4096, "blocks": 0, "ctime": 1709165968.5823245, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17754, "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": 1709165968.5823245, "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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.175) 0:00:23.232 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.036) 0:00:23.269 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.059) 0:00:23.329 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.026) 0:00:23.356 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165968.4063294, "block_size": 4096, "blocks": 8, "ctime": 1709165965.262418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165965.262418, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.133) 0:00:23.489 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.025) 0:00:23.515 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022571", "end": "2024-02-29 00:19:29.574560", "rc": 1, "start": "2024-02-29 00:19:29.551989" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.152) 0:00:23.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.023) 0:00:23.691 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003401", "end": "2024-02-29 00:19:29.732886", "rc": 0, "start": "2024-02-29 00:19:29.729485" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.136) 0:00:23.827 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.025) 0:00:23.853 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003420", "end": "2024-02-29 00:19:29.894338", "rc": 0, "start": "2024-02-29 00:19:29.890918" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.141) 0:00:23.995 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.032) 0:00:24.028 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.048) 0:00:24.076 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.026) 0:00:24.103 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.026) 0:00:24.129 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.021) 0:00:24.150 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.049) 0:00:24.200 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.041) 0:00:24.242 ***** 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.051460", "end": "2024-02-29 00:19:30.332188", "rc": 0, "start": "2024-02-29 00:19:30.280728" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:83 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.184) 0:00:24.427 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.036) 0:00:24.464 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.024) 0:00:24.488 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.048) 0:00:24.536 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.038) 0:00:24.575 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.037) 0:00:24.612 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2024-02-29 00:19:30.656701", "rc": 0, "start": "2024-02-29 00:19:30.653261" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.139) 0:00:24.751 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.022) 0:00:24.774 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.022) 0:00:24.796 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.041) 0:00:24.838 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.066) 0:00:24.905 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.041) 0:00:24.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.027) 0:00:24.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.025) 0:00:24.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.021) 0:00:25.021 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.728) 0:00:25.749 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.930) 0:00:26.679 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.055) 0:00:26.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.034) 0:00:26.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.024) 0:00:26.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.024) 0:00:26.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.029) 0:00:26.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.029) 0:00:26.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.047) 0:00:26.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.029) 0:00:26.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.024) 0:00:26.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.024) 0:00:27.006 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.020) 0:00:27.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.021) 0:00:27.047 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.223) 0:00:27.271 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp4qm0e020" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.203) 0:00:27.475 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.223) 0:00:27.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.025) 0:00:27.724 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.023) 0:00:27.747 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.052) 0:00:27.799 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.021) 0:00:27.821 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.128) 0:00:27.950 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.024) 0:00:27.974 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.035) 0:00:28.010 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.040) 0:00:28.050 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.025) 0:00:28.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.021) 0:00:28.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.022) 0:00:28.120 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.688) 0:00:28.809 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.959) 0:00:29.768 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:29.791 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:29.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.021) 0:00:29.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:29.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.028) 0:00:29.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.032) 0:00:29.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.049) 0:00:29.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.021) 0:00:29.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:30.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.025) 0:00:30.036 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:30.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.023) 0:00:30.082 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.264) 0:00:30.347 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpjfg54zl6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.208) 0:00:30.555 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.472) 0:00:31.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.024) 0:00:31.051 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.026) 0:00:31.078 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.060) 0:00:31.138 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.039) 0:00:31.178 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.136) 0:00:31.314 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.041) 0:00:31.355 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.044) 0:00:31.400 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.043) 0:00:31.444 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.026) 0:00:31.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.057) 0:00:31.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.023) 0:00:31.551 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.711) 0:00:32.263 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.927) 0:00:33.191 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.023) 0:00:33.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.021) 0:00:33.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.023) 0:00:33.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.022) 0:00:33.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.026) 0:00:33.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.061) 0:00:33.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.063) 0:00:33.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.030) 0:00:33.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.029) 0:00:33.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.037) 0:00:33.531 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.025) 0:00:33.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.025) 0:00:33.581 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.233) 0:00:33.815 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpwvx7g7gq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.217) 0:00:34.032 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.241) 0:00:34.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.021) 0:00:34.296 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.023) 0:00:34.319 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.022) 0:00:34.341 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.031) 0:00:34.373 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.144) 0:00:34.517 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.097) 0:00:34.614 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.038) 0:00:34.653 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165976.862091, "block_size": 4096, "blocks": 0, "ctime": 1709165976.861091, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17754, "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": 1709165976.861091, "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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.180) 0:00:34.833 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.053) 0:00:34.887 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.037) 0:00:34.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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.021) 0:00:34.946 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.144) 0:00:35.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.046) 0:00:35.136 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022438", "end": "2024-02-29 00:19:41.200922", "rc": 1, "start": "2024-02-29 00:19:41.178484" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.166) 0:00:35.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.022) 0:00:35.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.036) 0:00:35.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.027) 0:00:35.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.030) 0:00:35.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.022) 0:00:35.442 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.031) 0:00:35.474 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.066) 0:00:35.540 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.031) 0:00:35.572 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.043) 0:00:35.616 ***** 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.049328", "end": "2024-02-29 00:19:41.711177", "rc": 0, "start": "2024-02-29 00:19:41.661849" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:103 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.191) 0:00:35.807 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.036) 0:00:35.843 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.023) 0:00:35.866 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.046) 0:00:35.913 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.036) 0:00:35.950 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.048) 0:00:35.999 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-02-29 00:19:42.060298", "rc": 0, "start": "2024-02-29 00:19:42.056798" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.155) 0:00:36.154 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.022) 0:00:36.177 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.020) 0:00:36.197 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.068) 0:00:36.265 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.035) 0:00:36.301 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.040) 0:00:36.341 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.028) 0:00:36.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.030) 0:00:36.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.022) 0:00:36.423 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.750) 0:00:37.174 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:44 +0000 (0:00:01.013) 0:00:38.187 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.023) 0:00:38.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.022) 0:00:38.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.021) 0:00:38.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.021) 0:00:38.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.030) 0:00:38.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.025) 0:00:38.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.045) 0:00:38.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.021) 0:00:38.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.028) 0:00:38.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.040) 0:00:38.467 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.050) 0:00:38.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.029) 0:00:38.547 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.244) 0:00:38.791 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpplqjb3c8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.240) 0:00:39.032 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.272) 0:00:39.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.049) 0:00:39.354 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.023) 0:00:39.377 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.023) 0:00:39.401 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.021) 0:00:39.422 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.128) 0:00:39.551 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.024) 0:00:39.575 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.040) 0:00:39.616 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.043) 0:00:39.659 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.030) 0:00:39.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.028) 0:00:39.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.023) 0:00:39.741 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:46 +0000 (0:00:00.693) 0:00:40.434 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.968) 0:00:41.403 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.028) 0:00:41.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.035) 0:00:41.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.038) 0:00:41.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.038) 0:00:41.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.062) 0:00:41.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.032) 0:00:41.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.123) 0:00:41.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.029) 0:00:41.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.098) 0:00:41.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.054) 0:00:41.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.068) 0:00:42.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.069) 0:00:42.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 [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.283) 0:00:42.367 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpapwr9yia" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.310) 0:00:42.678 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.561) 0:00:43.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.060) 0:00:43.301 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.084) 0:00:43.385 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.084) 0:00:43.469 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.054) 0:00:43.523 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.227) 0:00:43.751 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.063) 0:00:43.814 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.088) 0:00:43.903 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.026) 0:00:43.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.022) 0:00:43.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.021) 0:00:43.973 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.709) 0:00:44.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.929) 0:00:45.612 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.022) 0:00:45.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.021) 0:00:45.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.021) 0:00:45.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.020) 0:00:45.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.025) 0:00:45.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.030) 0:00:45.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.045) 0:00:45.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.024) 0:00:45.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.021) 0:00:45.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.079) 0:00:45.924 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.029) 0:00:45.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.033) 0:00:45.987 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.251) 0:00:46.239 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpsbd8k337" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.207) 0:00:46.446 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.232) 0:00:46.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.021) 0:00:46.701 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.034) 0:00:46.736 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.023) 0:00:46.760 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.021) 0:00:46.781 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.150) 0:00:46.932 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.041) 0:00:46.973 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.047) 0:00:47.021 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.074) 0:00:47.096 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.028) 0:00:47.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.021) 0:00:47.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.021) 0:00:47.166 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.695) 0:00:47.862 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.933) 0:00:48.796 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.024) 0:00:48.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.038) 0:00:48.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.029) 0:00:48.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.072) 0:00:48.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.035) 0:00:48.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.052) 0:00:49.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.098) 0:00:49.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.036) 0:00:49.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.053) 0:00:49.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.041) 0:00:49.279 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.057) 0:00:49.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.052) 0:00:49.388 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.355) 0:00:49.744 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpg2tnp2m8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.237) 0:00:49.982 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.238) 0:00:50.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.035) 0:00:50.255 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.066) 0:00:50.322 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.052) 0:00:50.374 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.033) 0:00:50.408 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.151) 0:00:50.559 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.135) 0:00:50.694 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.054) 0:00:50.749 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.048) 0:00:50.797 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.217) 0:00:51.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.045) 0:00:51.060 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022134", "end": "2024-02-29 00:19:57.154951", "rc": 1, "start": "2024-02-29 00:19:57.132817" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.213) 0:00:51.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.053) 0:00:51.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.025) 0:00:51.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.030) 0:00:51.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.032) 0:00:51.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.030) 0:00:51.446 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.031) 0:00:51.477 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.050) 0:00:51.528 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.032) 0:00:51.560 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.108) 0:00:51.669 ***** 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.050619", "end": "2024-02-29 00:19:57.802148", "rc": 0, "start": "2024-02-29 00:19:57.751529" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:126 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.288) 0:00:51.957 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.118) 0:00:52.076 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.039) 0:00:52.115 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.082) 0:00:52.197 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.101) 0:00:52.299 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.080) 0:00:52.380 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-02-29 00:19:58.453333", "rc": 0, "start": "2024-02-29 00:19:58.449854" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.174) 0:00:52.555 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.027) 0:00:52.582 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.023) 0:00:52.605 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.062) 0:00:52.668 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.049) 0:00:52.717 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.140) 0:00:52.858 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.065) 0:00:52.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.037) 0:00:52.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.030) 0:00:52.991 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.714) 0:00:53.705 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.921) 0:00:54.627 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.023) 0:00:54.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.023) 0:00:54.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.033) 0:00:54.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.034) 0:00:54.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.074) 0:00:54.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.043) 0:00:54.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.059) 0:00:54.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.046) 0:00:54.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.042) 0:00:55.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.026) 0:00:55.033 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.022) 0:00:55.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.021) 0:00:55.077 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.258) 0:00:55.336 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp3hew7r9c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.266) 0:00:55.602 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.242) 0:00:55.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.037) 0:00:55.882 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.038) 0:00:55.921 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.049) 0:00:55.970 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.037) 0:00:56.007 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.147) 0:00:56.155 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.057) 0:00:56.212 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.050) 0:00:56.262 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.051) 0:00:56.313 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.030) 0:00:56.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.027) 0:00:56.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.024) 0:00:56.396 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:03 +0000 (0:00:00.728) 0:00:57.125 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:03 +0000 (0:00:00.923) 0:00:58.048 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.047) 0:00:58.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.033) 0:00:58.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.021) 0:00:58.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.033) 0:00:58.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.026) 0:00:58.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.026) 0:00:58.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.043) 0:00:58.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.021) 0:00:58.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.021) 0:00:58.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.024) 0:00:58.347 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.030) 0:00:58.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.028) 0:00:58.406 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.225) 0:00:58.632 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmp1ys2_tmk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.255) 0:00:58.887 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.504) 0:00:59.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.045) 0:00:59.437 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.024) 0:00:59.462 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.023) 0:00:59.485 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.020) 0:00:59.506 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.131) 0:00:59.638 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.041) 0:00:59.680 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.042) 0:00:59.723 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.037) 0:00:59.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.022) 0:00:59.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.036) 0:00:59.819 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.729) 0:01:00.548 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.953) 0:01:01.502 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.024) 0:01:01.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.048) 0:01:01.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.023) 0:01:01.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.033) 0:01:01.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.038) 0:01:01.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.044) 0:01:01.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.048) 0:01:01.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.040) 0:01:01.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.037) 0:01:01.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.045) 0:01:01.887 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.024) 0:01:01.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.025) 0:01:01.937 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.253) 0:01:02.191 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpfcs6zem7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.204) 0:01:02.395 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.241) 0:01:02.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.025) 0:01:02.662 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.032) 0:01:02.695 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.028) 0:01:02.723 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.021) 0:01:02.745 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.129) 0:01:02.874 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.041) 0:01:02.915 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.036) 0:01:02.952 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.050) 0:01:03.002 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.026) 0:01:03.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.027) 0:01:03.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.020) 0:01:03.076 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.736) 0:01:03.813 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.925) 0:01:04.739 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.029) 0:01:04.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.029) 0:01:04.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.041) 0:01:04.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.023) 0:01:04.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.033) 0:01:04.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.044) 0:01:04.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.055) 0:01:04.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.029) 0:01:05.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.090) 0:01:05.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.029) 0:01:05.145 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.041) 0:01:05.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.052) 0:01:05.239 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.249) 0:01:05.489 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17971v1b75n9b/tmpcmkmlck8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.239) 0:01:05.728 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.232) 0:01:05.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.040) 0:01:06.002 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.033) 0:01:06.036 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.040) 0:01:06.077 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.023) 0:01:06.100 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.138) 0:01:06.239 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.044) 0:01:06.283 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.083) 0:01:06.366 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.029) 0:01:06.396 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.159) 0:01:06.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.033) 0:01:06.588 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022443", "end": "2024-02-29 00:20:12.649927", "rc": 1, "start": "2024-02-29 00:20:12.627484" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.158) 0:01:06.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.029) 0:01:06.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.037) 0:01:06.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.036) 0:01:06.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.041) 0:01:06.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.024) 0:01:06.915 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.024) 0:01:06.940 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.682847", "end": "2024-02-29 00:20:13.661980", "rc": 0, "start": "2024-02-29 00:20:12.979133" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.837) 0:01:07.778 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.024) 0:01:07.803 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.034) 0:01:07.837 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.038) 0:01:07.876 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.040) 0:01:07.916 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.074) 0:01:07.990 ***** 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.051591", "end": "2024-02-29 00:20:14.079146", "rc": 0, "start": "2024-02-29 00:20:14.027555" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.207) 0:01:08.198 ***** 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.007916", "end": "2024-02-29 00:20:14.256859", "rc": 0, "start": "2024-02-29 00:20:14.248943" } 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 0a:ff:d7:c2:53:dd brd ff:ff:ff:ff:ff:ff inet 10.31.13.100/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 1902sec preferred_lft 1902sec inet6 fe80::8ff:d7ff:fec2:53dd/64 scope link valid_lft forever preferred_lft forever 17: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 12:b1:23:4b:6d:1a brd ff:ff:ff:ff:ff:ff 51: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether da:8d:f6:af:be:0b brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.100 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.155) 0:01:08.354 ***** 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.555304", "end": "2024-02-29 00:20:14.950766", "rc": 0, "start": "2024-02-29 00:20:14.395462" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1989 0 --:--:-- --:--:-- --:--:-- 1993 % 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 765 0 --:--:-- --:--:-- --:--:-- 765 100 291 100 291 0 0 765 0 --:--:-- --:--:-- --:--:-- 763 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=338 changed=14 unreachable=0 failed=0 skipped=269 rescued=0 ignored=10 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.681) 0:01:09.035 ***** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.39s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 linux-system-roles.network : Configure networking connection profiles --- 2.01s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Enable network service --------------------- 1.34s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.30s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.18s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 1.00s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.99s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---