# 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_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/tests_states_initscripts.yml:5 Thursday 22 February 2024 03:45:53 +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_hotfixemw4uyh3/tests/tests_states_initscripts.yml:8 Thursday 22 February 2024 03:45:53 +0000 (0:00:00.569) 0:00:00.581 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:45:53 +0000 (0:00:00.021) 0:00:00.602 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/el_repo_setup.yml:19 Thursday 22 February 2024 03:45:53 +0000 (0:00:00.229) 0:00:00.832 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/el_repo_setup.yml:24 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.185) 0:00:01.018 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/el_repo_setup.yml:28 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.018) 0:00:01.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/el_repo_setup.yml:53 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.017) 0:00:01.053 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.028) 0:00:01.082 ***** 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_hotfixemw4uyh3/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.181) 0:00:01.264 ***** 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_hotfixemw4uyh3/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:45:54 +0000 (0:00:00.452) 0:00:01.717 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183958", "end": "2024-02-22 03:45:55.033343", "rc": 0, "start": "2024-02-22 03:45:54.849385" } 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_hotfixemw4uyh3/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.308) 0:00:02.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.010) 0:00:02.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/tests_states_initscripts.yml:10 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.009) 0:00:02.045 ***** 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.009) 0:00:02.054 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tests_states.yml:11 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.386) 0:00:02.441 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tests_states.yml:22 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.010) 0:00:02.451 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.015) 0:00:02.467 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.010) 0:00:02.477 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.033) 0:00:02.511 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.013) 0:00:02.524 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.012) 0:00:02.537 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-02-22 03:45:55.671587", "rc": 0, "start": "2024-02-22 03:45:55.668067" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.126) 0:00:02.663 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.011) 0:00:02.675 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.010) 0:00:02.685 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.019) 0:00:02.705 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011318", "end": "2024-02-22 03:45:55.848022", "rc": 1, "start": "2024-02-22 03:45:55.836704" } 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.133) 0:00:02.839 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:45:55 +0000 (0:00:00.014) 0:00:02.853 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.125) 0:00:02.979 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.012) 0:00:02.991 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.017) 0:00:03.009 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.080) 0:00:03.089 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.021) 0:00:03.110 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.012) 0:00:03.123 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.010) 0:00:03.133 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.010) 0:00:03.144 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:45:56 +0000 (0:00:00.816) 0:00:03.961 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:45:58 +0000 (0:00:01.090) 0:00:05.052 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:45:58 +0000 (0:00:00.022) 0:00:05.075 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:45:58 +0000 (0:00:00.019) 0:00:05.094 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:45:58 +0000 (0:00:00.019) 0:00:05.113 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:45:58 +0000 (0:00:00.018) 0:00:05.132 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:01 +0000 (0:00:03.291) 0:00:08.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:01 +0000 (0:00:00.025) 0:00:08.450 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:03 +0000 (0:00:02.125) 0:00:10.575 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:03 +0000 (0:00:00.020) 0:00:10.596 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:03 +0000 (0:00:00.021) 0:00:10.617 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:03 +0000 (0:00:00.023) 0:00:10.641 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:03 +0000 (0:00:00.020) 0:00:10.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:03 +0000 (0:00:00.034) 0:00:10.696 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.362) 0:00:11.058 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmp5t126s3a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.215) 0:00:11.274 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.331) 0:00:11.606 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.021) 0:00:11.627 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.022) 0:00:11.649 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.021) 0:00:11.670 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.021) 0:00:11.692 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.220) 0:00:11.912 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:46:04 +0000 (0:00:00.024) 0:00:11.937 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.045) 0:00:11.983 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.037) 0:00:12.020 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.043) 0:00:12.063 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573564.6027951, "block_size": 4096, "blocks": 8, "ctime": 1708573564.6027951, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573564.6027951, "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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.138) 0:00:12.202 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.022) 0:00:12.224 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026616", "end": "2024-02-22 03:46:05.384199", "rc": 1, "start": "2024-02-22 03:46:05.357583" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.161) 0:00:12.386 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.024) 0:00:12.410 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003595", "end": "2024-02-22 03:46:05.551507", "rc": 0, "start": "2024-02-22 03:46:05.547912" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.145) 0:00:12.555 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.030) 0:00:12.585 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003799", "end": "2024-02-22 03:46:05.732375", "rc": 0, "start": "2024-02-22 03:46:05.728576" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.150) 0:00:12.735 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.027) 0:00:12.763 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.025) 0:00:12.788 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.023) 0:00:12.811 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.021) 0:00:12.833 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.025) 0:00:12.858 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.022) 0:00:12.881 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:46:05 +0000 (0:00:00.038) 0:00:12.919 ***** 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.048662", "end": "2024-02-22 03:46:06.112793", "rc": 1, "start": "2024-02-22 03:46:06.064131" } 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:45 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.216) 0:00:13.136 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.037) 0:00:13.173 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.021) 0:00:13.194 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.043) 0:00:13.238 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.033) 0:00:13.272 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.031) 0:00:13.304 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003541", "end": "2024-02-22 03:46:06.440691", "rc": 0, "start": "2024-02-22 03:46:06.437150" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.138) 0:00:13.443 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.022) 0:00:13.465 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.023) 0:00:13.488 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.039) 0:00:13.527 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007397", "end": "2024-02-22 03:46:06.669008", "rc": 1, "start": "2024-02-22 03:46:06.661611" } 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.142) 0:00:13.670 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.034) 0:00:13.704 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.159) 0:00:13.864 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.024) 0:00:13.888 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.038) 0:00:13.926 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:06 +0000 (0:00:00.041) 0:00:13.968 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:07 +0000 (0:00:00.040) 0:00:14.009 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:07 +0000 (0:00:00.024) 0:00:14.033 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:07 +0000 (0:00:00.020) 0:00:14.054 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:07 +0000 (0:00:00.019) 0:00:14.074 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:07 +0000 (0:00:00.722) 0:00:14.796 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:08 +0000 (0:00:00.948) 0:00:15.744 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:08 +0000 (0:00:00.021) 0:00:15.766 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:08 +0000 (0:00:00.021) 0:00:15.787 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:08 +0000 (0:00:00.019) 0:00:15.806 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:08 +0000 (0:00:00.020) 0:00:15.827 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:12 +0000 (0:00:03.696) 0:00:19.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.025) 0:00:19.549 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.043) 0:00:19.592 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.021) 0:00:19.613 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.021) 0:00:19.634 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.023) 0:00:19.658 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.021) 0:00:19.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.021) 0:00:19.701 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:12 +0000 (0:00:00.229) 0:00:19.930 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpydyafz1v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.232) 0:00:20.163 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.231) 0:00:20.394 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.021) 0:00:20.415 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.022) 0:00:20.438 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.022) 0:00:20.460 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.021) 0:00:20.482 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.130) 0:00:20.612 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.022) 0:00:20.634 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.040) 0:00:20.675 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.034) 0:00:20.709 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.134) 0:00:20.844 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.028) 0:00:20.872 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.037) 0:00:20.909 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:46:13 +0000 (0:00:00.025) 0:00:20.935 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573573.388735, "block_size": 4096, "blocks": 8, "ctime": 1708573573.388735, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25299, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573573.388735, "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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.142) 0:00:21.078 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.023) 0:00:21.102 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021990", "end": "2024-02-22 03:46:14.256033", "rc": 1, "start": "2024-02-22 03:46:14.234043" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.154) 0:00:21.257 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.022) 0:00:21.279 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003482", "end": "2024-02-22 03:46:14.415362", "rc": 0, "start": "2024-02-22 03:46:14.411880" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.138) 0:00:21.417 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.027) 0:00:21.444 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003482", "end": "2024-02-22 03:46:14.579918", "rc": 0, "start": "2024-02-22 03:46:14.576436" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.138) 0:00:21.583 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.030) 0:00:21.613 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.025) 0:00:21.639 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.023) 0:00:21.662 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.022) 0:00:21.685 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.019) 0:00:21.705 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.027) 0:00:21.733 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.040) 0:00:21.773 ***** 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.045020", "end": "2024-02-22 03:46:14.950080", "rc": 1, "start": "2024-02-22 03:46:14.905060" } 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:65 Thursday 22 February 2024 03:46:14 +0000 (0:00:00.177) 0:00:21.950 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.057) 0:00:22.007 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.021) 0:00:22.029 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.044) 0:00:22.074 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.033) 0:00:22.108 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.032) 0:00:22.141 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-02-22 03:46:15.274774", "rc": 0, "start": "2024-02-22 03:46:15.271291" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.135) 0:00:22.277 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.022) 0:00:22.299 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.020) 0:00:22.319 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.036) 0:00:22.356 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.035) 0:00:22.391 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.039) 0:00:22.431 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.052) 0:00:22.484 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.021) 0:00:22.505 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:15 +0000 (0:00:00.021) 0:00:22.527 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:16 +0000 (0:00:00.718) 0:00:23.245 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:17 +0000 (0:00:00.926) 0:00:24.172 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:17 +0000 (0:00:00.023) 0:00:24.196 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:17 +0000 (0:00:00.021) 0:00:24.217 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:17 +0000 (0:00:00.021) 0:00:24.239 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:17 +0000 (0:00:00.020) 0:00:24.259 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:20 +0000 (0:00:03.624) 0:00:27.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:20 +0000 (0:00:00.055) 0:00:27.940 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.049) 0:00:27.990 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.030) 0:00:28.020 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.053) 0:00:28.074 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.065) 0:00:28.139 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.032) 0:00:28.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.022) 0:00:28.195 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.242) 0:00:28.438 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpd4brckit" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.237) 0:00:28.675 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.235) 0:00:28.911 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:21 +0000 (0:00:00.033) 0:00:28.944 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.038) 0:00:28.983 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.040) 0:00:29.024 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.029) 0:00:29.054 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.152) 0:00:29.207 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.043) 0:00:29.250 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.054) 0:00:29.305 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.075) 0:00:29.381 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.068) 0:00:29.450 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.028) 0:00:29.478 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.026) 0:00:29.504 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:22 +0000 (0:00:00.023) 0:00:29.528 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:23 +0000 (0:00:00.711) 0:00:30.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:24 +0000 (0:00:00.934) 0:00:31.174 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:24 +0000 (0:00:00.023) 0:00:31.198 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:24 +0000 (0:00:00.038) 0:00:31.237 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:24 +0000 (0:00:00.063) 0:00:31.301 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:24 +0000 (0:00:00.047) 0:00:31.348 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:28 +0000 (0:00:03.920) 0:00:35.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.033) 0:00:35.302 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.067) 0:00:35.370 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.021) 0:00:35.391 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.021) 0:00:35.413 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.025) 0:00:35.439 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.021) 0:00:35.461 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.020) 0:00:35.481 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:28 +0000 (0:00:00.242) 0:00:35.723 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmp91ppa9pv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.258) 0:00:35.982 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.489) 0:00:36.471 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.023) 0:00:36.495 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.024) 0:00:36.519 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.030) 0:00:36.550 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.028) 0:00:36.578 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.141) 0:00:36.720 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.068) 0:00:36.788 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.036) 0:00:36.824 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573589.3916256, "block_size": 4096, "blocks": 0, "ctime": 1708573589.3906255, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17663, "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": 1708573589.3906255, "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_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:46:29 +0000 (0:00:00.143) 0:00:36.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.026) 0:00:36.994 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.038) 0:00:37.033 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.027) 0:00:37.060 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573589.2116268, "block_size": 4096, "blocks": 8, "ctime": 1708573581.901677, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573581.901677, "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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.139) 0:00:37.199 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.023) 0:00:37.223 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024146", "end": "2024-02-22 03:46:30.381793", "rc": 1, "start": "2024-02-22 03:46:30.357647" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.169) 0:00:37.392 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.026) 0:00:37.419 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003539", "end": "2024-02-22 03:46:30.559483", "rc": 0, "start": "2024-02-22 03:46:30.555944" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.142) 0:00:37.562 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.025) 0:00:37.587 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003640", "end": "2024-02-22 03:46:30.727396", "rc": 0, "start": "2024-02-22 03:46:30.723756" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.144) 0:00:37.731 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.025) 0:00:37.757 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.048) 0:00:37.805 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.025) 0:00:37.831 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.022) 0:00:37.853 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.017) 0:00:37.871 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.021) 0:00:37.893 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:46:30 +0000 (0:00:00.038) 0:00:37.932 ***** 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.052485", "end": "2024-02-22 03:46:31.117212", "rc": 0, "start": "2024-02-22 03:46:31.064727" } 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:83 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.186) 0:00:38.119 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.037) 0:00:38.157 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.035) 0:00:38.192 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.060) 0:00:38.253 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.049) 0:00:38.302 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.040) 0:00:38.343 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2024-02-22 03:46:31.480618", "rc": 0, "start": "2024-02-22 03:46:31.477100" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.149) 0:00:38.492 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.025) 0:00:38.517 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.062) 0:00:38.580 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.051) 0:00:38.631 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.052) 0:00:38.684 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.056) 0:00:38.740 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.026) 0:00:38.767 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.021) 0:00:38.788 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:31 +0000 (0:00:00.020) 0:00:38.808 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:32 +0000 (0:00:00.715) 0:00:39.524 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:33 +0000 (0:00:00.926) 0:00:40.450 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:33 +0000 (0:00:00.021) 0:00:40.472 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:33 +0000 (0:00:00.020) 0:00:40.492 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:33 +0000 (0:00:00.021) 0:00:40.514 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:33 +0000 (0:00:00.020) 0:00:40.534 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:37 +0000 (0:00:03.522) 0:00:44.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.025) 0:00:44.082 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.044) 0:00:44.127 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.023) 0:00:44.150 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.022) 0:00:44.172 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.025) 0:00:44.197 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.021) 0:00:44.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.023) 0:00:44.242 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.232) 0:00:44.475 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpbju9pduh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.210) 0:00:44.685 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.267) 0:00:44.953 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:37 +0000 (0:00:00.021) 0:00:44.974 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.022) 0:00:44.996 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.021) 0:00:45.018 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.020) 0:00:45.038 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.130) 0:00:45.168 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.022) 0:00:45.190 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.034) 0:00:45.225 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.039) 0:00:45.264 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.025) 0:00:45.289 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.020) 0:00:45.310 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:38 +0000 (0:00:00.019) 0:00:45.329 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:39 +0000 (0:00:00.727) 0:00:46.057 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:40 +0000 (0:00:00.955) 0:00:47.013 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:40 +0000 (0:00:00.021) 0:00:47.034 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:40 +0000 (0:00:00.021) 0:00:47.056 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:40 +0000 (0:00:00.021) 0:00:47.078 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:40 +0000 (0:00:00.026) 0:00:47.104 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:43 +0000 (0:00:03.144) 0:00:50.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.024) 0:00:50.273 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.042) 0:00:50.316 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.032) 0:00:50.348 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.023) 0:00:50.371 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.025) 0:00:50.396 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.020) 0:00:50.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.021) 0:00:50.439 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.224) 0:00:50.663 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpzn0qt6wh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:43 +0000 (0:00:00.207) 0:00:50.871 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.497) 0:00:51.368 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.022) 0:00:51.390 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.022) 0:00:51.412 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.022) 0:00:51.435 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.020) 0:00:51.455 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.131) 0:00:51.587 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.038) 0:00:51.625 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.039) 0:00:51.664 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.039) 0:00:51.704 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.025) 0:00:51.730 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.020) 0:00:51.751 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:44 +0000 (0:00:00.020) 0:00:51.771 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:45 +0000 (0:00:00.752) 0:00:52.524 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:46 +0000 (0:00:00.935) 0:00:53.459 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:46 +0000 (0:00:00.031) 0:00:53.491 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:46 +0000 (0:00:00.033) 0:00:53.524 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:46 +0000 (0:00:00.022) 0:00:53.547 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:46 +0000 (0:00:00.027) 0:00:53.574 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:50 +0000 (0:00:03.561) 0:00:57.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.024) 0:00:57.160 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.042) 0:00:57.203 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.020) 0:00:57.224 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.020) 0:00:57.244 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.024) 0:00:57.268 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.048) 0:00:57.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.021) 0:00:57.338 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.229) 0:00:57.567 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpzl4qtdw2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:50 +0000 (0:00:00.211) 0:00:57.778 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.237) 0:00:58.015 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.025) 0:00:58.041 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.023) 0:00:58.064 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.024) 0:00:58.088 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.027) 0:00:58.116 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.134) 0:00:58.250 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.047) 0:00:58.298 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.043) 0:00:58.341 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573604.3015237, "block_size": 4096, "blocks": 0, "ctime": 1708573604.2935236, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17663, "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": 1708573604.2935236, "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_hotfixemw4uyh3/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.159) 0:00:58.501 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.052) 0:00:58.553 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.036) 0:00:58.589 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.021) 0:00:58.610 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.134) 0:00:58.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.020) 0:00:58.766 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023980", "end": "2024-02-22 03:46:51.924025", "rc": 1, "start": "2024-02-22 03:46:51.900045" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.167) 0:00:58.934 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:46:51 +0000 (0:00:00.036) 0:00:58.970 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.024) 0:00:58.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.034) 0:00:59.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.023) 0:00:59.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.034) 0:00:59.088 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.023) 0:00:59.112 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.019) 0:00:59.131 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.030) 0:00:59.161 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.041) 0:00:59.203 ***** 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.057098", "end": "2024-02-22 03:46:52.411202", "rc": 0, "start": "2024-02-22 03:46:52.354104" } 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:103 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.254) 0:00:59.458 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.057) 0:00:59.516 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.044) 0:00:59.560 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.049) 0:00:59.610 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.049) 0:00:59.659 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.053) 0:00:59.713 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003512", "end": "2024-02-22 03:46:52.924708", "rc": 0, "start": "2024-02-22 03:46:52.921196" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.229) 0:00:59.942 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:46:52 +0000 (0:00:00.025) 0:00:59.967 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.022) 0:00:59.989 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.045) 0:01:00.035 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.037) 0:01:00.072 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.040) 0:01:00.113 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.102) 0:01:00.215 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.028) 0:01:00.244 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:53 +0000 (0:00:00.022) 0:01:00.267 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:46:54 +0000 (0:00:00.758) 0:01:01.025 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:46:54 +0000 (0:00:00.947) 0:01:01.973 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:46:55 +0000 (0:00:00.036) 0:01:02.009 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:46:55 +0000 (0:00:00.027) 0:01:02.037 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:46:55 +0000 (0:00:00.022) 0:01:02.059 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:46:55 +0000 (0:00:00.025) 0:01:02.085 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:46:58 +0000 (0:00:03.497) 0:01:05.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.024) 0:01:05.607 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.042) 0:01:05.650 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.021) 0:01:05.672 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.020) 0:01:05.692 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.024) 0:01:05.717 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.033) 0:01:05.751 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:46:58 +0000 (0:00:00.039) 0:01:05.790 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.232) 0:01:06.023 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpa_0f0dfr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.217) 0:01:06.241 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.233) 0:01:06.474 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.021) 0:01:06.495 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.022) 0:01:06.518 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.021) 0:01:06.540 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.021) 0:01:06.561 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.132) 0:01:06.693 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.022) 0:01:06.715 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.035) 0:01:06.751 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.038) 0:01:06.789 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.025) 0:01:06.815 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.046) 0:01:06.861 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:46:59 +0000 (0:00:00.021) 0:01:06.882 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:00 +0000 (0:00:00.734) 0:01:07.616 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:01 +0000 (0:00:00.941) 0:01:08.558 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:01 +0000 (0:00:00.024) 0:01:08.582 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:01 +0000 (0:00:00.022) 0:01:08.605 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:01 +0000 (0:00:00.021) 0:01:08.627 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:01 +0000 (0:00:00.025) 0:01:08.652 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:05 +0000 (0:00:03.538) 0:01:12.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.024) 0:01:12.215 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.042) 0:01:12.258 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.021) 0:01:12.279 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.021) 0:01:12.301 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.028) 0:01:12.329 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.050) 0:01:12.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.026) 0:01:12.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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.242) 0:01:12.648 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpjcba9t74" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:05 +0000 (0:00:00.215) 0:01:12.864 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.482) 0:01:13.346 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.021) 0:01:13.368 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.022) 0:01:13.390 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.021) 0:01:13.412 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.021) 0:01:13.433 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.144) 0:01:13.577 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.034) 0:01:13.612 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.038) 0:01:13.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.059) 0:01:13.710 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.021) 0:01:13.732 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:06 +0000 (0:00:00.023) 0:01:13.755 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:07 +0000 (0:00:00.746) 0:01:14.502 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:08 +0000 (0:00:00.944) 0:01:15.446 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:08 +0000 (0:00:00.036) 0:01:15.482 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:08 +0000 (0:00:00.021) 0:01:15.504 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:08 +0000 (0:00:00.022) 0:01:15.527 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:08 +0000 (0:00:00.030) 0:01:15.557 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:12 +0000 (0:00:04.093) 0:01:19.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.024) 0:01:19.674 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.043) 0:01:19.717 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.020) 0:01:19.738 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.021) 0:01:19.759 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.023) 0:01:19.783 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.039) 0:01:19.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:12 +0000 (0:00:00.021) 0:01:19.844 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.236) 0:01:20.081 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpavsd_zjp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.219) 0:01:20.300 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.240) 0:01:20.540 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.021) 0:01:20.562 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.021) 0:01:20.584 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.023) 0:01:20.607 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.039) 0:01:20.647 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.144) 0:01:20.791 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.045) 0:01:20.837 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.044) 0:01:20.882 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:13 +0000 (0:00:00.067) 0:01:20.949 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:14 +0000 (0:00:00.033) 0:01:20.982 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:14 +0000 (0:00:00.033) 0:01:21.016 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:14 +0000 (0:00:00.023) 0:01:21.040 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:14 +0000 (0:00:00.755) 0:01:21.795 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:15 +0000 (0:00:00.942) 0:01:22.737 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:15 +0000 (0:00:00.022) 0:01:22.760 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:15 +0000 (0:00:00.021) 0:01:22.781 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:15 +0000 (0:00:00.047) 0:01:22.828 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:15 +0000 (0:00:00.022) 0:01:22.851 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:18 +0000 (0:00:03.094) 0:01:25.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:18 +0000 (0:00:00.026) 0:01:25.971 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.043) 0:01:26.015 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.021) 0:01:26.036 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.042) 0:01:26.079 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.024) 0:01:26.103 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.022) 0:01:26.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.021) 0:01:26.147 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.232) 0:01:26.379 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpjw9m_9mo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.227) 0:01:26.607 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.231) 0:01:26.839 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.021) 0:01:26.860 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.022) 0:01:26.882 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.022) 0:01:26.905 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:19 +0000 (0:00:00.020) 0:01:26.925 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.136) 0:01:27.061 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.044) 0:01:27.106 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.068) 0:01:27.174 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.022) 0:01:27.197 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.140) 0:01:27.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.021) 0:01:27.358 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024214", "end": "2024-02-22 03:47:20.518665", "rc": 1, "start": "2024-02-22 03:47:20.494451" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.176) 0:01:27.535 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.023) 0:01:27.559 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.037) 0:01:27.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.024) 0:01:27.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.025) 0:01:27.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.026) 0:01:27.673 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.026) 0:01:27.699 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.025) 0:01:27.724 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.021) 0:01:27.746 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:47:20 +0000 (0:00:00.041) 0:01:27.787 ***** 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.053615", "end": "2024-02-22 03:47:20.976220", "rc": 0, "start": "2024-02-22 03:47:20.922605" } 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_hotfixemw4uyh3/tests/playbooks/tests_states.yml:126 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.191) 0:01:27.979 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.060) 0:01:28.039 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.022) 0:01:28.061 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.047) 0:01:28.108 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.034) 0:01:28.143 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.033) 0:01:28.176 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-02-22 03:47:21.316451", "rc": 0, "start": "2024-02-22 03:47:21.312727" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.143) 0:01:28.319 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.024) 0:01:28.343 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.021) 0:01:28.365 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.046) 0:01:28.411 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.038) 0:01:28.450 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.041) 0:01:28.491 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.027) 0:01:28.518 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.022) 0:01:28.540 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:21 +0000 (0:00:00.054) 0:01:28.595 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:22 +0000 (0:00:00.730) 0:01:29.326 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:23 +0000 (0:00:00.933) 0:01:30.259 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:23 +0000 (0:00:00.035) 0:01:30.295 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:23 +0000 (0:00:00.023) 0:01:30.319 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:23 +0000 (0:00:00.027) 0:01:30.347 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:23 +0000 (0:00:00.022) 0:01:30.370 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing bridge-utils are up to date", "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:26 +0000 (0:00:03.527) 0:01:33.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:26 +0000 (0:00:00.025) 0:01:33.923 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:26 +0000 (0:00:00.045) 0:01:33.969 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.022) 0:01:33.991 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.021) 0:01:34.012 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.025) 0:01:34.037 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.021) 0:01:34.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.042) 0:01:34.101 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.230) 0:01:34.332 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmp8066jh2i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.263) 0:01:34.595 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.233) 0:01:34.828 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.021) 0:01:34.850 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.022) 0:01:34.873 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.025) 0:01:34.898 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:27 +0000 (0:00:00.024) 0:01:34.922 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.135) 0:01:35.058 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.034) 0:01:35.092 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.045) 0:01:35.137 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.049) 0:01:35.187 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.027) 0:01:35.215 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.058) 0:01:35.274 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:28 +0000 (0:00:00.021) 0:01:35.295 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:29 +0000 (0:00:00.713) 0:01:36.009 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:29 +0000 (0:00:00.954) 0:01:36.964 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:30 +0000 (0:00:00.031) 0:01:36.996 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:30 +0000 (0:00:00.035) 0:01:37.031 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:30 +0000 (0:00:00.024) 0:01:37.056 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:30 +0000 (0:00:00.027) 0:01:37.084 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:33 +0000 (0:00:03.638) 0:01:40.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.025) 0:01:40.748 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.045) 0:01:40.793 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.020) 0:01:40.814 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.021) 0:01:40.836 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.025) 0:01:40.861 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.040) 0:01:40.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:33 +0000 (0:00:00.023) 0:01:40.925 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.236) 0:01:41.162 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpremnqc9a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.217) 0:01:41.379 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.483) 0:01:41.863 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.021) 0:01:41.884 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.022) 0:01:41.907 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.022) 0:01:41.929 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:34 +0000 (0:00:00.021) 0:01:41.951 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.132) 0:01:42.084 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.036) 0:01:42.120 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.039) 0:01:42.159 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.081) 0:01:42.241 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.022) 0:01:42.264 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:35 +0000 (0:00:00.021) 0:01:42.285 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:36 +0000 (0:00:00.733) 0:01:43.019 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:36 +0000 (0:00:00.949) 0:01:43.968 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:37 +0000 (0:00:00.022) 0:01:43.991 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:37 +0000 (0:00:00.021) 0:01:44.012 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:37 +0000 (0:00:00.021) 0:01:44.033 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:37 +0000 (0:00:00.020) 0:01:44.054 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:40 +0000 (0:00:03.730) 0:01:47.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.028) 0:01:47.813 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.047) 0:01:47.861 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.022) 0:01:47.884 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.026) 0:01:47.910 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.025) 0:01:47.936 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:40 +0000 (0:00:00.039) 0:01:47.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.021) 0:01:47.996 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.233) 0:01:48.230 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmpvsh67jfq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.214) 0:01:48.444 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.244) 0:01:48.688 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.025) 0:01:48.713 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.048) 0:01:48.762 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.033) 0:01:48.796 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:41 +0000 (0:00:00.043) 0:01:48.839 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.155) 0:01:48.995 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.039) 0:01:49.035 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.038) 0:01:49.073 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.074) 0:01:49.148 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.039) 0:01:49.187 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.021) 0:01:49.209 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:47:42 +0000 (0:00:00.022) 0:01:49.232 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:47:43 +0000 (0:00:00.757) 0:01:49.989 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:47:43 +0000 (0:00:00.948) 0:01:50.938 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:47:43 +0000 (0:00:00.024) 0:01:50.963 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:47:44 +0000 (0:00:00.023) 0:01:50.987 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:47:44 +0000 (0:00:00.021) 0:01:51.008 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:47:44 +0000 (0:00:00.044) 0:01:51.053 ***** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing initscripts are up to date", "All packages providing dhclient are up to date" ] } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:47:48 +0000 (0:00:03.951) 0:01:55.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.027) 0:01:55.032 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.043) 0:01:55.076 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.022) 0:01:55.098 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.022) 0:01:55.120 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.024) 0:01:55.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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.046) 0:01:55.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.021) 0:01:55.213 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.231) 0:01:55.444 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-203813uls65q9/tmp075ya9ay" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.216) 0:01:55.661 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.235) 0:01:55.896 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.021) 0:01:55.918 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.025) 0:01:55.943 ***** 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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:47:48 +0000 (0:00:00.022) 0:01:55.966 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.020) 0:01:55.987 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.135) 0:01:56.123 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.046) 0:01:56.169 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.040) 0:01:56.209 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.031) 0:01:56.241 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.163) 0:01:56.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.022) 0:01:56.427 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023301", "end": "2024-02-22 03:47:49.592024", "rc": 1, "start": "2024-02-22 03:47:49.568723" } 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.167) 0:01:56.595 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.023) 0:01:56.618 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.023) 0:01:56.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.022) 0:01:56.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.022) 0:01:56.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.021) 0:01:56.709 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 22 February 2024 03:47:49 +0000 (0:00:00.024) 0:01:56.734 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.695035", "end": "2024-02-22 03:47:50.562021", "rc": 0, "start": "2024-02-22 03:47:49.866986" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.831) 0:01:57.565 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.025) 0:01:57.590 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.022) 0:01:57.613 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.025) 0:01:57.638 ***** 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_hotfixemw4uyh3/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.021) 0:01:57.660 ***** included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.068) 0:01:57.729 ***** 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.051680", "end": "2024-02-22 03:47:50.915184", "rc": 0, "start": "2024-02-22 03:47:50.863504" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 03:47:50 +0000 (0:00:00.188) 0:01:57.918 ***** 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.007715", "end": "2024-02-22 03:47:51.058000", "rc": 0, "start": "2024-02-22 03:47:51.050285" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:15:7b:f9:ed:eb brd ff:ff:ff:ff:ff:ff inet 10.31.40.239/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2957sec preferred_lft 2957sec inet6 fe80::c15:7bff:fef9:edeb/64 scope link valid_lft forever preferred_lft forever 27: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 52:37:48:c1:03:9a brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::5037:48ff:fec1:39a/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.239 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 03:47:51 +0000 (0:00:00.141) 0:01:58.060 ***** 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.489759", "end": "2024-02-22 03:47:51.686274", "rc": 0, "start": "2024-02-22 03:47:51.196515" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 986 0 --:--:-- --:--:-- --:--:-- 990 % 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 1816 0 --:--:-- --:--:-- --:--:-- 1818 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=353 changed=15 unreachable=0 failed=0 skipped=254 rescued=0 ignored=10 Thursday 22 February 2024 03:47:51 +0000 (0:00:00.616) 0:01:58.676 ***** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the YUM package manager -- 17.46s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 linux-system-roles.network : Check if updates for network packages are available through the YUM package manager -- 14.24s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 linux-system-roles.network : Check if updates for network packages are available through the YUM package manager -- 10.78s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 linux-system-roles.network : Check if updates for network packages are available through the YUM package manager --- 7.65s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 linux-system-roles.network : Check if updates for network packages are available through the YUM package manager --- 3.70s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:39 linux-system-roles.network : Install packages --------------------------- 2.31s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:66 linux-system-roles.network : Configure networking connection profiles --- 1.95s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Configure networking connection profiles --- 1.30s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Enable network service --------------------- 1.30s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.14s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:153 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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_hotfixemw4uyh3/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_hotfixemw4uyh3/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_hotfixemw4uyh3/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_hotfixemw4uyh3/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_hotfixemw4uyh3/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_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.95s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/main.yml:145 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixemw4uyh3/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. ---^---^---^---^---^---