# 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_hotfixxnya8l10/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_hotfixxnya8l10/tests/tests_states_initscripts.yml:5 Monday 19 February 2024 23:49:04 +0000 (0:00:00.021) 0:00:00.021 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tests_states_initscripts.yml:8 Monday 19 February 2024 23:49:05 +0000 (0:00:00.802) 0:00:00.824 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:49:05 +0000 (0:00:00.033) 0:00:00.857 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 23:49:05 +0000 (0:00:00.243) 0:00:01.101 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 23:49:05 +0000 (0:00:00.261) 0:00:01.362 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 23:49:06 +0000 (0:00:00.021) 0:00:01.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 23:49:06 +0000 (0:00:00.017) 0:00:01.401 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:49:06 +0000 (0:00:00.035) 0:00:01.437 ******* 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_hotfixxnya8l10/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:49:06 +0000 (0:00:00.184) 0:00:01.621 ******* 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_hotfixxnya8l10/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:49:06 +0000 (0:00:00.487) 0:00:02.109 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.194486", "end": "2024-02-19 23:49:07.092791", "rc": 0, "start": "2024-02-19 23:49:06.898305" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_hotfixxnya8l10/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:49:07 +0000 (0:00:00.434) 0:00:02.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:49:07 +0000 (0:00:00.050) 0:00:02.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/tests_states_initscripts.yml:10 Monday 19 February 2024 23:49:07 +0000 (0:00:00.025) 0:00:02.620 ******* 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 23:49:07 +0000 (0:00:00.017) 0:00:02.637 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 23:49:07 +0000 (0:00:00.431) 0:00:03.069 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 23:49:07 +0000 (0:00:00.023) 0:00:03.093 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:49:07 +0000 (0:00:00.035) 0:00:03.128 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:49:07 +0000 (0:00:00.014) 0:00:03.143 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:49:07 +0000 (0:00:00.051) 0:00:03.194 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:07 +0000 (0:00:00.032) 0:00:03.227 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:07 +0000 (0:00:00.044) 0:00:03.272 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2024-02-19 23:49:08.044361", "rc": 0, "start": "2024-02-19 23:49:08.041009" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:08 +0000 (0:00:00.171) 0:00:03.443 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:08 +0000 (0:00:00.039) 0:00:03.482 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:49:08 +0000 (0:00:00.131) 0:00:03.614 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:49:08 +0000 (0:00:00.105) 0:00:03.720 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010739", "end": "2024-02-19 23:49:08.637542", "rc": 1, "start": "2024-02-19 23:49:08.626803" } 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_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:49:08 +0000 (0:00:00.323) 0:00:04.043 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:08 +0000 (0:00:00.067) 0:00:04.111 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:49:08 +0000 (0:00:00.205) 0:00:04.317 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:49:08 +0000 (0:00:00.024) 0:00:04.342 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:49:09 +0000 (0:00:00.043) 0:00:04.386 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:09 +0000 (0:00:00.059) 0:00:04.445 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:09 +0000 (0:00:00.093) 0:00:04.539 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:09 +0000 (0:00:00.020) 0:00:04.560 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:09 +0000 (0:00:00.014) 0:00:04.575 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:09 +0000 (0:00:00.050) 0:00:04.625 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:10 +0000 (0:00:00.929) 0:00:05.554 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:11 +0000 (0:00:00.950) 0:00:06.505 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:11 +0000 (0:00:00.050) 0:00:06.555 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:11 +0000 (0:00:00.025) 0:00:06.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:11 +0000 (0:00:00.056) 0:00:06.637 ******* 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_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\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 rhel-Server 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:13 +0000 (0:00:02.556) 0:00:09.194 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:13 +0000 (0:00:00.036) 0:00:09.230 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:13 +0000 (0:00:00.042) 0:00:09.273 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:13 +0000 (0:00:00.061) 0:00:09.334 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:14 +0000 (0:00:00.043) 0:00:09.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:14 +0000 (0:00:00.039) 0:00:09.417 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:14 +0000 (0:00:00.537) 0:00:09.954 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpmghkog71" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:14 +0000 (0:00:00.251) 0:00:10.205 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:15 +0000 (0:00:00.441) 0:00:10.647 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:15 +0000 (0:00:00.043) 0:00:10.690 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:15 +0000 (0:00:00.084) 0:00:10.775 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:15 +0000 (0:00:00.076) 0:00:10.852 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:15 +0000 (0:00:00.049) 0:00:10.901 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:49:15 +0000 (0:00:00.416) 0:00:11.318 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:49:15 +0000 (0:00:00.032) 0:00:11.350 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:49:16 +0000 (0:00:00.047) 0:00:11.398 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:49:16 +0000 (0:00:00.078) 0:00:11.476 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:49:16 +0000 (0:00:00.049) 0:00:11.525 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386555.2304747, "block_size": 4096, "blocks": 8, "ctime": 1708386555.2304747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12952166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386555.2304747, "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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:49:16 +0000 (0:00:00.160) 0:00:11.686 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:49:16 +0000 (0:00:00.045) 0:00:11.732 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024735", "end": "2024-02-19 23:49:16.539548", "rc": 1, "start": "2024-02-19 23:49:16.514813" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:49:16 +0000 (0:00:00.263) 0:00:11.996 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:49:16 +0000 (0:00:00.054) 0:00:12.050 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003354", "end": "2024-02-19 23:49:16.817280", "rc": 0, "start": "2024-02-19 23:49:16.813926" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:49:16 +0000 (0:00:00.184) 0:00:12.234 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:49:16 +0000 (0:00:00.032) 0:00:12.266 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003441", "end": "2024-02-19 23:49:17.032270", "rc": 0, "start": "2024-02-19 23:49:17.028829" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:49:17 +0000 (0:00:00.203) 0:00:12.470 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:49:17 +0000 (0:00:00.046) 0:00:12.517 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:49:17 +0000 (0:00:00.090) 0:00:12.608 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:49:17 +0000 (0:00:00.034) 0:00:12.643 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:49:17 +0000 (0:00:00.076) 0:00:12.719 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:49:17 +0000 (0:00:00.037) 0:00:12.757 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:49:17 +0000 (0:00:00.043) 0:00:12.801 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:49:17 +0000 (0:00:00.050) 0:00:12.851 ******* 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.045345", "end": "2024-02-19 23:49:17.635960", "rc": 1, "start": "2024-02-19 23:49:17.590615" } 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 23:49:17 +0000 (0:00:00.198) 0:00:13.050 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:49:17 +0000 (0:00:00.102) 0:00:13.153 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:49:17 +0000 (0:00:00.039) 0:00:13.193 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:49:17 +0000 (0:00:00.050) 0:00:13.243 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:17 +0000 (0:00:00.035) 0:00:13.279 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:17 +0000 (0:00:00.033) 0:00:13.312 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003418", "end": "2024-02-19 23:49:18.047730", "rc": 0, "start": "2024-02-19 23:49:18.044312" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:18 +0000 (0:00:00.170) 0:00:13.483 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:18 +0000 (0:00:00.064) 0:00:13.547 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:49:18 +0000 (0:00:00.067) 0:00:13.615 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:49:18 +0000 (0:00:00.122) 0:00:13.738 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007198", "end": "2024-02-19 23:49:18.476891", "rc": 1, "start": "2024-02-19 23:49:18.469693" } 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_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:49:18 +0000 (0:00:00.141) 0:00:13.880 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:18 +0000 (0:00:00.129) 0:00:14.009 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:49:18 +0000 (0:00:00.181) 0:00:14.191 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:49:18 +0000 (0:00:00.029) 0:00:14.220 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 23:49:18 +0000 (0:00:00.054) 0:00:14.275 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:18 +0000 (0:00:00.055) 0:00:14.330 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:19 +0000 (0:00:00.060) 0:00:14.390 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:19 +0000 (0:00:00.058) 0:00:14.449 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:19 +0000 (0:00:00.045) 0:00:14.494 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:19 +0000 (0:00:00.026) 0:00:14.521 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:20 +0000 (0:00:00.872) 0:00:15.393 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:20 +0000 (0:00:00.691) 0:00:16.085 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:20 +0000 (0:00:00.041) 0:00:16.126 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:20 +0000 (0:00:00.024) 0:00:16.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:20 +0000 (0:00:00.045) 0:00:16.195 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:20 +0000 (0:00:00.114) 0:00:16.310 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:20 +0000 (0:00:00.046) 0:00:16.356 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:21 +0000 (0:00:00.080) 0:00:16.436 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:21 +0000 (0:00:00.068) 0:00:16.504 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:21 +0000 (0:00:00.035) 0:00:16.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:21 +0000 (0:00:00.038) 0:00:16.578 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:21 +0000 (0:00:00.456) 0:00:17.035 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpd60bxubb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:22 +0000 (0:00:00.463) 0:00:17.499 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:22 +0000 (0:00:00.277) 0:00:17.776 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:22 +0000 (0:00:00.028) 0:00:17.804 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:22 +0000 (0:00:00.097) 0:00:17.902 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:22 +0000 (0:00:00.031) 0:00:17.933 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:22 +0000 (0:00:00.029) 0:00:17.962 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 23:49:22 +0000 (0:00:00.153) 0:00:18.116 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:49:22 +0000 (0:00:00.063) 0:00:18.179 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:49:22 +0000 (0:00:00.133) 0:00:18.313 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:23 +0000 (0:00:00.089) 0:00:18.402 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:49:23 +0000 (0:00:00.171) 0:00:18.573 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:49:23 +0000 (0:00:00.027) 0:00:18.601 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:49:23 +0000 (0:00:00.043) 0:00:18.644 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:49:23 +0000 (0:00:00.037) 0:00:18.682 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386562.3554306, "block_size": 4096, "blocks": 8, "ctime": 1708386562.3554306, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12952166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386562.3554306, "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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:49:23 +0000 (0:00:00.150) 0:00:18.833 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:49:23 +0000 (0:00:00.028) 0:00:18.862 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020773", "end": "2024-02-19 23:49:23.658824", "rc": 1, "start": "2024-02-19 23:49:23.638051" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:49:23 +0000 (0:00:00.205) 0:00:19.068 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:49:23 +0000 (0:00:00.023) 0:00:19.091 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003407", "end": "2024-02-19 23:49:23.834349", "rc": 0, "start": "2024-02-19 23:49:23.830942" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:49:23 +0000 (0:00:00.243) 0:00:19.335 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:49:24 +0000 (0:00:00.064) 0:00:19.399 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003446", "end": "2024-02-19 23:49:24.141983", "rc": 0, "start": "2024-02-19 23:49:24.138537" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:49:24 +0000 (0:00:00.153) 0:00:19.553 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:49:24 +0000 (0:00:00.042) 0:00:19.595 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:49:24 +0000 (0:00:00.033) 0:00:19.629 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:49:24 +0000 (0:00:00.072) 0:00:19.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:49:24 +0000 (0:00:00.037) 0:00:19.739 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:49:24 +0000 (0:00:00.021) 0:00:19.760 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:49:24 +0000 (0:00:00.038) 0:00:19.799 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:49:24 +0000 (0:00:00.076) 0:00:19.875 ******* 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.042891", "end": "2024-02-19 23:49:24.675225", "rc": 1, "start": "2024-02-19 23:49:24.632334" } 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 23:49:24 +0000 (0:00:00.267) 0:00:20.143 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:49:24 +0000 (0:00:00.098) 0:00:20.241 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:49:24 +0000 (0:00:00.058) 0:00:20.300 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:49:25 +0000 (0:00:00.078) 0:00:20.378 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:25 +0000 (0:00:00.102) 0:00:20.481 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:25 +0000 (0:00:00.151) 0:00:20.632 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003405", "end": "2024-02-19 23:49:25.411567", "rc": 0, "start": "2024-02-19 23:49:25.408162" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:25 +0000 (0:00:00.222) 0:00:20.855 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:25 +0000 (0:00:00.054) 0:00:20.909 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:49:25 +0000 (0:00:00.038) 0:00:20.947 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:49:25 +0000 (0:00:00.061) 0:00:21.009 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:25 +0000 (0:00:00.154) 0:00:21.164 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:25 +0000 (0:00:00.134) 0:00:21.298 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:25 +0000 (0:00:00.038) 0:00:21.336 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:25 +0000 (0:00:00.033) 0:00:21.370 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:26 +0000 (0:00:00.021) 0:00:21.391 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:26 +0000 (0:00:00.774) 0:00:22.166 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:27 +0000 (0:00:00.801) 0:00:22.967 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:27 +0000 (0:00:00.034) 0:00:23.002 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:27 +0000 (0:00:00.065) 0:00:23.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:27 +0000 (0:00:00.038) 0:00:23.106 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:27 +0000 (0:00:00.068) 0:00:23.174 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:27 +0000 (0:00:00.045) 0:00:23.220 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:27 +0000 (0:00:00.052) 0:00:23.273 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:27 +0000 (0:00:00.039) 0:00:23.313 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:27 +0000 (0:00:00.041) 0:00:23.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:28 +0000 (0:00:00.041) 0:00:23.395 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:28 +0000 (0:00:00.313) 0:00:23.709 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmp4n4_dge8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:28 +0000 (0:00:00.357) 0:00:24.066 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:29 +0000 (0:00:00.346) 0:00:24.413 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:29 +0000 (0:00:00.041) 0:00:24.455 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:29 +0000 (0:00:00.193) 0:00:24.648 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:29 +0000 (0:00:00.067) 0:00:24.716 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:29 +0000 (0:00:00.123) 0:00:24.839 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:49:29 +0000 (0:00:00.207) 0:00:25.046 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:49:29 +0000 (0:00:00.118) 0:00:25.165 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:49:29 +0000 (0:00:00.086) 0:00:25.252 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:29 +0000 (0:00:00.090) 0:00:25.342 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:30 +0000 (0:00:00.071) 0:00:25.414 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:30 +0000 (0:00:00.065) 0:00:25.479 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:30 +0000 (0:00:00.050) 0:00:25.530 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:30 +0000 (0:00:00.049) 0:00:25.579 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:31 +0000 (0:00:00.826) 0:00:26.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:31 +0000 (0:00:00.710) 0:00:27.117 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:31 +0000 (0:00:00.057) 0:00:27.174 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:31 +0000 (0:00:00.024) 0:00:27.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:31 +0000 (0:00:00.032) 0:00:27.231 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:31 +0000 (0:00:00.050) 0:00:27.282 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:31 +0000 (0:00:00.035) 0:00:27.317 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:31 +0000 (0:00:00.023) 0:00:27.341 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:31 +0000 (0:00:00.032) 0:00:27.374 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:32 +0000 (0:00:00.058) 0:00:27.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:32 +0000 (0:00:00.035) 0:00:27.468 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:32 +0000 (0:00:00.276) 0:00:27.744 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpwabft3z6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:32 +0000 (0:00:00.260) 0:00:28.005 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:33 +0000 (0:00:00.499) 0:00:28.505 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:33 +0000 (0:00:00.113) 0:00:28.618 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:33 +0000 (0:00:00.095) 0:00:28.714 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:33 +0000 (0:00:00.092) 0:00:28.806 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:33 +0000 (0:00:00.067) 0:00:28.873 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:49:33 +0000 (0:00:00.208) 0:00:29.082 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:49:33 +0000 (0:00:00.130) 0:00:29.212 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:33 +0000 (0:00:00.101) 0:00:29.314 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386573.0123646, "block_size": 4096, "blocks": 0, "ctime": 1708386573.0113645, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17519, "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": 1708386573.0113645, "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_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:49:34 +0000 (0:00:00.229) 0:00:29.543 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:49:34 +0000 (0:00:00.065) 0:00:29.609 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:49:34 +0000 (0:00:00.061) 0:00:29.671 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:49:34 +0000 (0:00:00.039) 0:00:29.710 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386572.8373656, "block_size": 4096, "blocks": 8, "ctime": 1708386568.9533896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12952166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386568.9533896, "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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:49:34 +0000 (0:00:00.157) 0:00:29.868 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:49:34 +0000 (0:00:00.027) 0:00:29.895 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022130", "end": "2024-02-19 23:49:34.669065", "rc": 1, "start": "2024-02-19 23:49:34.646935" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:49:34 +0000 (0:00:00.190) 0:00:30.086 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:49:34 +0000 (0:00:00.126) 0:00:30.213 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003442", "end": "2024-02-19 23:49:34.963834", "rc": 0, "start": "2024-02-19 23:49:34.960392" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:49:35 +0000 (0:00:00.190) 0:00:30.403 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:49:35 +0000 (0:00:00.070) 0:00:30.473 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003394", "end": "2024-02-19 23:49:35.232077", "rc": 0, "start": "2024-02-19 23:49:35.228683" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:49:35 +0000 (0:00:00.181) 0:00:30.655 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:49:35 +0000 (0:00:00.058) 0:00:30.713 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:49:35 +0000 (0:00:00.027) 0:00:30.741 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:49:35 +0000 (0:00:00.035) 0:00:30.776 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:49:35 +0000 (0:00:00.045) 0:00:30.821 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:49:35 +0000 (0:00:00.031) 0:00:30.852 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:49:35 +0000 (0:00:00.028) 0:00:30.881 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:49:35 +0000 (0:00:00.065) 0:00:30.946 ******* 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.047708", "end": "2024-02-19 23:49:35.784874", "rc": 0, "start": "2024-02-19 23:49:35.737166" } 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 23:49:35 +0000 (0:00:00.292) 0:00:31.238 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:49:35 +0000 (0:00:00.096) 0:00:31.334 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:49:36 +0000 (0:00:00.065) 0:00:31.400 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:49:36 +0000 (0:00:00.064) 0:00:31.464 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:36 +0000 (0:00:00.110) 0:00:31.574 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:36 +0000 (0:00:00.068) 0:00:31.642 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004535", "end": "2024-02-19 23:49:37.391368", "rc": 0, "start": "2024-02-19 23:49:36.386833" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:37 +0000 (0:00:01.169) 0:00:32.812 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:37 +0000 (0:00:00.073) 0:00:32.885 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:49:37 +0000 (0:00:00.050) 0:00:32.936 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:49:37 +0000 (0:00:00.115) 0:00:33.052 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:37 +0000 (0:00:00.142) 0:00:33.194 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:37 +0000 (0:00:00.052) 0:00:33.247 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:37 +0000 (0:00:00.061) 0:00:33.309 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:37 +0000 (0:00:00.062) 0:00:33.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:38 +0000 (0:00:00.032) 0:00:33.405 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:38 +0000 (0:00:00.838) 0:00:34.243 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:39 +0000 (0:00:00.685) 0:00:34.929 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:39 +0000 (0:00:00.024) 0:00:34.953 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:39 +0000 (0:00:00.027) 0:00:34.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:39 +0000 (0:00:00.028) 0:00:35.008 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:39 +0000 (0:00:00.043) 0:00:35.051 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:39 +0000 (0:00:00.021) 0:00:35.073 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:39 +0000 (0:00:00.020) 0:00:35.094 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:39 +0000 (0:00:00.025) 0:00:35.119 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:39 +0000 (0:00:00.021) 0:00:35.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:39 +0000 (0:00:00.022) 0:00:35.163 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:40 +0000 (0:00:00.237) 0:00:35.400 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmp2a22xajl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:40 +0000 (0:00:00.402) 0:00:35.802 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:40 +0000 (0:00:00.366) 0:00:36.169 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:40 +0000 (0:00:00.025) 0:00:36.195 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:40 +0000 (0:00:00.036) 0:00:36.232 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:40 +0000 (0:00:00.059) 0:00:36.291 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:40 +0000 (0:00:00.047) 0:00:36.338 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:49:41 +0000 (0:00:00.135) 0:00:36.474 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:49:41 +0000 (0:00:00.037) 0:00:36.512 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:41 +0000 (0:00:00.068) 0:00:36.580 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:41 +0000 (0:00:00.064) 0:00:36.645 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:41 +0000 (0:00:00.111) 0:00:36.756 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:41 +0000 (0:00:00.051) 0:00:36.808 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:41 +0000 (0:00:00.043) 0:00:36.852 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:42 +0000 (0:00:00.836) 0:00:37.688 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:43 +0000 (0:00:00.792) 0:00:38.481 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:43 +0000 (0:00:00.034) 0:00:38.516 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:43 +0000 (0:00:00.025) 0:00:38.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:43 +0000 (0:00:00.021) 0:00:38.563 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:43 +0000 (0:00:00.074) 0:00:38.637 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:43 +0000 (0:00:00.076) 0:00:38.714 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:43 +0000 (0:00:00.039) 0:00:38.753 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:43 +0000 (0:00:00.045) 0:00:38.799 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:43 +0000 (0:00:00.088) 0:00:38.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:43 +0000 (0:00:00.092) 0:00:38.980 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:43 +0000 (0:00:00.267) 0:00:39.248 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmp56cclsgd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:44 +0000 (0:00:00.262) 0:00:39.511 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:44 +0000 (0:00:00.537) 0:00:40.048 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:44 +0000 (0:00:00.037) 0:00:40.086 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:44 +0000 (0:00:00.123) 0:00:40.209 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:44 +0000 (0:00:00.045) 0:00:40.255 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:44 +0000 (0:00:00.027) 0:00:40.282 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:49:45 +0000 (0:00:00.219) 0:00:40.502 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:49:45 +0000 (0:00:00.051) 0:00:40.553 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:45 +0000 (0:00:00.121) 0:00:40.675 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:45 +0000 (0:00:00.073) 0:00:40.749 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:45 +0000 (0:00:00.034) 0:00:40.784 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:45 +0000 (0:00:00.033) 0:00:40.817 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:45 +0000 (0:00:00.021) 0:00:40.838 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:46 +0000 (0:00:00.769) 0:00:41.608 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:47 +0000 (0:00:00.901) 0:00:42.509 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:47 +0000 (0:00:00.111) 0:00:42.620 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:47 +0000 (0:00:00.123) 0:00:42.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:47 +0000 (0:00:00.040) 0:00:42.784 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:47 +0000 (0:00:00.143) 0:00:42.927 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:47 +0000 (0:00:00.065) 0:00:42.993 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:47 +0000 (0:00:00.037) 0:00:43.030 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:47 +0000 (0:00:00.046) 0:00:43.077 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:47 +0000 (0:00:00.028) 0:00:43.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:47 +0000 (0:00:00.040) 0:00:43.146 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:48 +0000 (0:00:00.397) 0:00:43.544 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpifik5cx5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:48 +0000 (0:00:00.236) 0:00:43.780 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:48 +0000 (0:00:00.262) 0:00:44.043 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:48 +0000 (0:00:00.053) 0:00:44.097 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:48 +0000 (0:00:00.066) 0:00:44.163 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:48 +0000 (0:00:00.136) 0:00:44.299 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:48 +0000 (0:00:00.067) 0:00:44.367 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:49:49 +0000 (0:00:00.183) 0:00:44.550 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:49:49 +0000 (0:00:00.110) 0:00:44.661 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:49 +0000 (0:00:00.102) 0:00:44.764 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386584.5622928, "block_size": 4096, "blocks": 0, "ctime": 1708386584.560293, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17519, "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": 1708386584.560293, "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_hotfixxnya8l10/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:49:49 +0000 (0:00:00.152) 0:00:44.916 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:49:49 +0000 (0:00:00.025) 0:00:44.942 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:49:49 +0000 (0:00:00.057) 0:00:45.000 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:49:49 +0000 (0:00:00.038) 0:00:45.038 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:49:49 +0000 (0:00:00.163) 0:00:45.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:49:49 +0000 (0:00:00.066) 0:00:45.268 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021952", "end": "2024-02-19 23:49:50.067071", "rc": 1, "start": "2024-02-19 23:49:50.045119" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:49:50 +0000 (0:00:00.213) 0:00:45.482 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:49:50 +0000 (0:00:00.034) 0:00:45.516 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:49:50 +0000 (0:00:00.031) 0:00:45.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:49:50 +0000 (0:00:00.058) 0:00:45.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:49:50 +0000 (0:00:00.097) 0:00:45.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:49:50 +0000 (0:00:00.065) 0:00:45.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:49:50 +0000 (0:00:00.085) 0:00:45.855 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:49:50 +0000 (0:00:00.025) 0:00:45.880 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:49:50 +0000 (0:00:00.036) 0:00:45.916 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:49:50 +0000 (0:00:00.145) 0:00:46.062 ******* 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.047453", "end": "2024-02-19 23:49:50.976877", "rc": 0, "start": "2024-02-19 23:49:50.929424" } 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 23:49:51 +0000 (0:00:00.351) 0:00:46.414 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:49:51 +0000 (0:00:00.077) 0:00:46.491 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:49:51 +0000 (0:00:00.080) 0:00:46.571 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:49:51 +0000 (0:00:00.163) 0:00:46.735 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:51 +0000 (0:00:00.073) 0:00:46.808 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:51 +0000 (0:00:00.061) 0:00:46.870 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004478", "end": "2024-02-19 23:49:52.693508", "rc": 0, "start": "2024-02-19 23:49:51.689030" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:52 +0000 (0:00:01.272) 0:00:48.142 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:52 +0000 (0:00:00.039) 0:00:48.182 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:49:52 +0000 (0:00:00.031) 0:00:48.214 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:49:52 +0000 (0:00:00.074) 0:00:48.288 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:52 +0000 (0:00:00.049) 0:00:48.337 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:53 +0000 (0:00:00.075) 0:00:48.412 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:53 +0000 (0:00:00.041) 0:00:48.454 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:53 +0000 (0:00:00.030) 0:00:48.485 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:53 +0000 (0:00:00.027) 0:00:48.512 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:53 +0000 (0:00:00.741) 0:00:49.254 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:54 +0000 (0:00:00.687) 0:00:49.942 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:54 +0000 (0:00:00.023) 0:00:49.966 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:54 +0000 (0:00:00.028) 0:00:49.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:54 +0000 (0:00:00.027) 0:00:50.023 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:54 +0000 (0:00:00.061) 0:00:50.084 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:54 +0000 (0:00:00.047) 0:00:50.132 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:54 +0000 (0:00:00.052) 0:00:50.184 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:54 +0000 (0:00:00.101) 0:00:50.286 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:54 +0000 (0:00:00.063) 0:00:50.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:55 +0000 (0:00:00.047) 0:00:50.398 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:55 +0000 (0:00:00.411) 0:00:50.810 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpnifslyqp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:55 +0000 (0:00:00.301) 0:00:51.112 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:49:56 +0000 (0:00:00.366) 0:00:51.478 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:49:56 +0000 (0:00:00.043) 0:00:51.522 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:49:56 +0000 (0:00:00.068) 0:00:51.591 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:49:56 +0000 (0:00:00.077) 0:00:51.669 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:49:56 +0000 (0:00:00.076) 0:00:51.745 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:49:56 +0000 (0:00:00.220) 0:00:51.965 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:49:56 +0000 (0:00:00.234) 0:00:52.200 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:49:56 +0000 (0:00:00.102) 0:00:52.303 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:57 +0000 (0:00:00.123) 0:00:52.426 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:49:57 +0000 (0:00:00.067) 0:00:52.494 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:49:57 +0000 (0:00:00.029) 0:00:52.524 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:49:57 +0000 (0:00:00.065) 0:00:52.590 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:49:57 +0000 (0:00:00.776) 0:00:53.366 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:49:58 +0000 (0:00:00.720) 0:00:54.087 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:49:58 +0000 (0:00:00.042) 0:00:54.129 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:49:58 +0000 (0:00:00.037) 0:00:54.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:49:58 +0000 (0:00:00.048) 0:00:54.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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:49:59 +0000 (0:00:00.192) 0:00:54.408 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:49:59 +0000 (0:00:00.042) 0:00:54.451 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:49:59 +0000 (0:00:00.118) 0:00:54.570 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:49:59 +0000 (0:00:00.039) 0:00:54.610 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:49:59 +0000 (0:00:00.033) 0:00:54.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:49:59 +0000 (0:00:00.024) 0:00:54.668 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:49:59 +0000 (0:00:00.288) 0:00:54.956 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpawj_2v15" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:49:59 +0000 (0:00:00.254) 0:00:55.210 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:00 +0000 (0:00:00.493) 0:00:55.704 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:00 +0000 (0:00:00.047) 0:00:55.752 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:00 +0000 (0:00:00.039) 0:00:55.792 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:00 +0000 (0:00:00.072) 0:00:55.864 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:00 +0000 (0:00:00.070) 0:00:55.935 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:50:00 +0000 (0:00:00.176) 0:00:56.112 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:00 +0000 (0:00:00.111) 0:00:56.224 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:01 +0000 (0:00:00.171) 0:00:56.395 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:01 +0000 (0:00:00.079) 0:00:56.475 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:01 +0000 (0:00:00.093) 0:00:56.568 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:01 +0000 (0:00:00.127) 0:00:56.695 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:02 +0000 (0:00:00.813) 0:00:57.508 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:02 +0000 (0:00:00.799) 0:00:58.308 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:03 +0000 (0:00:00.154) 0:00:58.462 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:03 +0000 (0:00:00.046) 0:00:58.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:03 +0000 (0:00:00.025) 0:00:58.534 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:03 +0000 (0:00:00.058) 0:00:58.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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:03 +0000 (0:00:00.058) 0:00:58.651 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:03 +0000 (0:00:00.056) 0:00:58.708 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:03 +0000 (0:00:00.051) 0:00:58.759 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:03 +0000 (0:00:00.026) 0:00:58.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:03 +0000 (0:00:00.058) 0:00:58.845 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:03 +0000 (0:00:00.286) 0:00:59.132 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpbbzb37_e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:03 +0000 (0:00:00.205) 0:00:59.337 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:04 +0000 (0:00:00.240) 0:00:59.578 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:04 +0000 (0:00:00.021) 0:00:59.600 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:04 +0000 (0:00:00.022) 0:00:59.622 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:04 +0000 (0:00:00.022) 0:00:59.645 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:04 +0000 (0:00:00.020) 0:00:59.665 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:50:04 +0000 (0:00:00.129) 0:00:59.795 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:50:04 +0000 (0:00:00.041) 0:00:59.836 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:04 +0000 (0:00:00.058) 0:00:59.895 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:04 +0000 (0:00:00.069) 0:00:59.965 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:04 +0000 (0:00:00.066) 0:01:00.031 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:04 +0000 (0:00:00.023) 0:01:00.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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:04 +0000 (0:00:00.034) 0:01:00.089 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:05 +0000 (0:00:00.746) 0:01:00.835 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:06 +0000 (0:00:00.657) 0:01:01.492 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:06 +0000 (0:00:00.035) 0:01:01.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:06 +0000 (0:00:00.069) 0:01:01.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:06 +0000 (0:00:00.027) 0:01:01.624 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:06 +0000 (0:00:00.070) 0:01:01.695 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:06 +0000 (0:00:00.049) 0:01:01.744 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:06 +0000 (0:00:00.021) 0:01:01.766 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:06 +0000 (0:00:00.026) 0:01:01.792 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:06 +0000 (0:00:00.038) 0:01:01.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:06 +0000 (0:00:00.051) 0:01:01.881 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:06 +0000 (0:00:00.244) 0:01:02.126 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpvne6tefs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:07 +0000 (0:00:00.377) 0:01:02.504 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:07 +0000 (0:00:00.265) 0:01:02.770 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:07 +0000 (0:00:00.054) 0:01:02.825 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:07 +0000 (0:00:00.070) 0:01:02.895 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:07 +0000 (0:00:00.064) 0:01:02.960 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:07 +0000 (0:00:00.024) 0:01:02.985 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:50:07 +0000 (0:00:00.186) 0:01:03.172 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:50:07 +0000 (0:00:00.052) 0:01:03.224 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:50:07 +0000 (0:00:00.096) 0:01:03.321 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:50:08 +0000 (0:00:00.153) 0:01:03.474 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:50:08 +0000 (0:00:00.159) 0:01:03.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:50:08 +0000 (0:00:00.022) 0:01:03.656 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021874", "end": "2024-02-19 23:50:08.415358", "rc": 1, "start": "2024-02-19 23:50:08.393484" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:50:08 +0000 (0:00:00.255) 0:01:03.912 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:50:08 +0000 (0:00:00.028) 0:01:03.940 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:50:08 +0000 (0:00:00.025) 0:01:03.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:50:08 +0000 (0:00:00.024) 0:01:03.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:50:08 +0000 (0:00:00.044) 0:01:04.035 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:50:08 +0000 (0:00:00.025) 0:01:04.061 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:50:08 +0000 (0:00:00.025) 0:01:04.086 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:50:08 +0000 (0:00:00.071) 0:01:04.158 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:50:08 +0000 (0:00:00.051) 0:01:04.209 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:50:08 +0000 (0:00:00.054) 0:01:04.264 ******* 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.048924", "end": "2024-02-19 23:50:09.049881", "rc": 0, "start": "2024-02-19 23:50:09.000957" } 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_hotfixxnya8l10/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 23:50:09 +0000 (0:00:00.202) 0:01:04.466 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:50:09 +0000 (0:00:00.107) 0:01:04.574 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:50:09 +0000 (0:00:00.032) 0:01:04.607 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:50:09 +0000 (0:00:00.116) 0:01:04.723 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:50:09 +0000 (0:00:00.064) 0:01:04.787 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:50:09 +0000 (0:00:00.160) 0:01:04.948 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003387", "end": "2024-02-19 23:50:09.750893", "rc": 0, "start": "2024-02-19 23:50:09.747506" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:50:09 +0000 (0:00:00.219) 0:01:05.168 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:50:09 +0000 (0:00:00.030) 0:01:05.198 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:50:09 +0000 (0:00:00.044) 0:01:05.242 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:50:09 +0000 (0:00:00.062) 0:01:05.305 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:09 +0000 (0:00:00.041) 0:01:05.346 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:10 +0000 (0:00:00.047) 0:01:05.394 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:10 +0000 (0:00:00.047) 0:01:05.441 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:10 +0000 (0:00:00.031) 0:01:05.473 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:10 +0000 (0:00:00.026) 0:01:05.500 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:10 +0000 (0:00:00.768) 0:01:06.268 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:11 +0000 (0:00:00.866) 0:01:07.135 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:11 +0000 (0:00:00.055) 0:01:07.191 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:11 +0000 (0:00:00.038) 0:01:07.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:11 +0000 (0:00:00.031) 0:01:07.260 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:11 +0000 (0:00:00.050) 0:01:07.311 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:11 +0000 (0:00:00.039) 0:01:07.350 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:12 +0000 (0:00:00.028) 0:01:07.379 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:12 +0000 (0:00:00.030) 0:01:07.410 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:12 +0000 (0:00:00.026) 0:01:07.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:12 +0000 (0:00:00.038) 0:01:07.475 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:12 +0000 (0:00:00.397) 0:01:07.873 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmp77vn10tq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:12 +0000 (0:00:00.299) 0:01:08.172 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:13 +0000 (0:00:00.251) 0:01:08.424 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:13 +0000 (0:00:00.064) 0:01:08.488 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:13 +0000 (0:00:00.060) 0:01:08.549 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:13 +0000 (0:00:00.044) 0:01:08.594 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:13 +0000 (0:00:00.090) 0:01:08.684 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:50:13 +0000 (0:00:00.181) 0:01:08.866 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:50:13 +0000 (0:00:00.050) 0:01:08.916 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:13 +0000 (0:00:00.065) 0:01:08.982 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:13 +0000 (0:00:00.054) 0:01:09.036 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:13 +0000 (0:00:00.102) 0:01:09.139 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:13 +0000 (0:00:00.055) 0:01:09.195 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:13 +0000 (0:00:00.062) 0:01:09.257 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:14 +0000 (0:00:00.751) 0:01:10.008 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:15 +0000 (0:00:00.704) 0:01:10.713 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:15 +0000 (0:00:00.107) 0:01:10.821 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:15 +0000 (0:00:00.075) 0:01:10.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:15 +0000 (0:00:00.070) 0:01:10.967 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:15 +0000 (0:00:00.116) 0:01:11.083 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:15 +0000 (0:00:00.048) 0:01:11.131 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:15 +0000 (0:00:00.058) 0:01:11.190 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:15 +0000 (0:00:00.056) 0:01:11.246 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:15 +0000 (0:00:00.022) 0:01:11.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:15 +0000 (0:00:00.022) 0:01:11.291 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:16 +0000 (0:00:00.240) 0:01:11.532 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpd5fz7acn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:16 +0000 (0:00:00.303) 0:01:11.836 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:17 +0000 (0:00:00.604) 0:01:12.440 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:17 +0000 (0:00:00.035) 0:01:12.476 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:17 +0000 (0:00:00.038) 0:01:12.514 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:17 +0000 (0:00:00.033) 0:01:12.547 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:17 +0000 (0:00:00.036) 0:01:12.584 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:50:17 +0000 (0:00:00.240) 0:01:12.824 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:17 +0000 (0:00:00.055) 0:01:12.880 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:17 +0000 (0:00:00.041) 0:01:12.921 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:17 +0000 (0:00:00.028) 0:01:12.950 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:17 +0000 (0:00:00.023) 0:01:12.973 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:17 +0000 (0:00:00.040) 0:01:13.013 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:18 +0000 (0:00:00.745) 0:01:13.759 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:19 +0000 (0:00:00.668) 0:01:14.428 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:19 +0000 (0:00:00.034) 0:01:14.463 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:19 +0000 (0:00:00.081) 0:01:14.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:19 +0000 (0:00:00.168) 0:01:14.713 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:19 +0000 (0:00:00.149) 0:01:14.862 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:19 +0000 (0:00:00.038) 0:01:14.900 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:19 +0000 (0:00:00.034) 0:01:14.934 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:19 +0000 (0:00:00.038) 0:01:14.973 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:19 +0000 (0:00:00.037) 0:01:15.010 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:19 +0000 (0:00:00.053) 0:01:15.064 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:20 +0000 (0:00:00.373) 0:01:15.437 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmpio0fsxeb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:20 +0000 (0:00:00.283) 0:01:15.721 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:20 +0000 (0:00:00.259) 0:01:15.980 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:20 +0000 (0:00:00.071) 0:01:16.052 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:20 +0000 (0:00:00.041) 0:01:16.094 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:20 +0000 (0:00:00.048) 0:01:16.142 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:20 +0000 (0:00:00.037) 0:01:16.179 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:50:21 +0000 (0:00:00.216) 0:01:16.396 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:50:21 +0000 (0:00:00.080) 0:01:16.476 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:50:21 +0000 (0:00:00.132) 0:01:16.608 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:50:21 +0000 (0:00:00.059) 0:01:16.668 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:50:21 +0000 (0:00:00.033) 0:01:16.701 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:50:21 +0000 (0:00:00.073) 0:01:16.775 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:50:21 +0000 (0:00:00.095) 0:01:16.871 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:50:22 +0000 (0:00:00.748) 0:01:17.619 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:50:22 +0000 (0:00:00.717) 0:01:18.337 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:50:23 +0000 (0:00:00.051) 0:01:18.389 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:50:23 +0000 (0:00:00.026) 0:01:18.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:50:23 +0000 (0:00:00.058) 0:01:18.474 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:50:23 +0000 (0:00:00.120) 0:01:18.595 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:50:23 +0000 (0:00:00.103) 0:01:18.698 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:50:23 +0000 (0:00:00.037) 0:01:18.735 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:50:23 +0000 (0:00:00.037) 0:01:18.772 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:50:23 +0000 (0:00:00.042) 0:01:18.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:50:23 +0000 (0:00:00.048) 0:01:18.864 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:50:23 +0000 (0:00:00.345) 0:01:19.209 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17366dxpj4o4b/tmp2hpeqvgu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:50:24 +0000 (0:00:00.316) 0:01:19.526 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:50:24 +0000 (0:00:00.280) 0:01:19.806 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:50:24 +0000 (0:00:00.035) 0:01:19.842 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:50:24 +0000 (0:00:00.044) 0:01:19.887 ******* 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_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:50:24 +0000 (0:00:00.043) 0:01:19.930 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:50:24 +0000 (0:00:00.044) 0:01:19.975 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:50:24 +0000 (0:00:00.142) 0:01:20.118 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:50:24 +0000 (0:00:00.050) 0:01:20.168 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:50:24 +0000 (0:00:00.062) 0:01:20.231 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:50:24 +0000 (0:00:00.068) 0:01:20.299 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:50:25 +0000 (0:00:00.173) 0:01:20.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:50:25 +0000 (0:00:00.051) 0:01:20.524 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022058", "end": "2024-02-19 23:50:25.286769", "rc": 1, "start": "2024-02-19 23:50:25.264711" } 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:50:25 +0000 (0:00:00.187) 0:01:20.711 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:50:25 +0000 (0:00:00.036) 0:01:20.747 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:50:25 +0000 (0:00:00.039) 0:01:20.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:50:25 +0000 (0:00:00.034) 0:01:20.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:50:25 +0000 (0:00:00.059) 0:01:20.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:50:25 +0000 (0:00:00.036) 0:01:20.917 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 23:50:25 +0000 (0:00:00.027) 0:01:20.944 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.405103", "end": "2024-02-19 23:50:26.078416", "rc": 0, "start": "2024-02-19 23:50:25.673313" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 23:50:26 +0000 (0:00:00.595) 0:01:21.539 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 23:50:26 +0000 (0:00:00.037) 0:01:21.576 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:50:26 +0000 (0:00:00.067) 0:01:21.643 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:50:26 +0000 (0:00:00.055) 0:01:21.699 ******* 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_hotfixxnya8l10/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:50:26 +0000 (0:00:00.033) 0:01:21.732 ******* included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:50:26 +0000 (0:00:00.078) 0:01:21.810 ******* 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.046537", "end": "2024-02-19 23:50:26.587897", "rc": 0, "start": "2024-02-19 23:50:26.541360" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:50:26 +0000 (0:00:00.188) 0:01:21.999 ******* 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.007485", "end": "2024-02-19 23:50:26.734612", "rc": 0, "start": "2024-02-19 23:50:26.727127" } 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 12:8f:aa:3c:d0:4d brd ff:ff:ff:ff:ff:ff inet 10.31.10.85/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2723sec preferred_lft 2723sec inet6 fe80::108f:aaff:fe3c:d04d/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 0a:f5:2f:2b:bd:75 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.85 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:50:26 +0000 (0:00:00.159) 0:01:22.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=14 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Monday 19 February 2024 23:50:26 +0000 (0:00:00.016) 0:01:22.175 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.78s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.14s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.90s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.77s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.61s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.27s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 1.16s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.08s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 1.07s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.96s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.85s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-nm_plugin_hotfixxnya8l10/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---