# 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_hotfixgacpe91v/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_hotfixgacpe91v/tests/tests_states_initscripts.yml:5 Tuesday 20 February 2024 20:44:42 +0000 (0:00:00.015) 0:00:00.015 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tests_states_initscripts.yml:8 Tuesday 20 February 2024 20:44:42 +0000 (0:00:00.626) 0:00:00.642 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:44:42 +0000 (0:00:00.057) 0:00:00.699 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.257) 0:00:00.957 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.191) 0:00:01.149 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.023) 0:00:01.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.019) 0:00:01.191 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.036) 0:00:01.228 ****** 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_hotfixgacpe91v/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:44:43 +0000 (0:00:00.235) 0:00:01.463 ****** 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_hotfixgacpe91v/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.468) 0:00:01.932 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.180866", "end": "2024-02-20 20:44:44.352791", "rc": 0, "start": "2024-02-20 20:44:44.171925" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.307) 0:00:02.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.017) 0:00:02.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/tests_states_initscripts.yml:10 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.009) 0:00:02.267 ****** 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.010) 0:00:02.277 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.379) 0:00:02.656 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.020) 0:00:02.677 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.017) 0:00:02.695 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.024) 0:00:02.719 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.044) 0:00:02.763 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.053) 0:00:02.817 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:44 +0000 (0:00:00.017) 0:00:02.835 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003537", "end": "2024-02-20 20:44:45.091185", "rc": 0, "start": "2024-02-20 20:44:45.087648" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.142) 0:00:02.977 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.015) 0:00:02.992 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.011) 0:00:03.003 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.021) 0:00:03.025 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012047", "end": "2024-02-20 20:44:45.275541", "rc": 1, "start": "2024-02-20 20:44:45.263494" } 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_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.132) 0:00:03.158 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.016) 0:00:03.174 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.144) 0:00:03.319 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.014) 0:00:03.333 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.018) 0:00:03.352 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.034) 0:00:03.386 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.069) 0:00:03.456 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.013) 0:00:03.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.011) 0:00:03.481 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:44:45 +0000 (0:00:00.010) 0:00:03.492 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:44:46 +0000 (0:00:00.760) 0:00:04.252 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:44:47 +0000 (0:00:01.216) 0:00:05.469 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.031) 0:00:05.500 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.023) 0:00:05.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.021) 0:00:05.545 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.044) 0:00:05.590 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.023) 0:00:05.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.032) 0:00:05.646 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.035) 0:00:05.681 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.026) 0:00:05.708 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.022) 0:00:05.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:44:47 +0000 (0:00:00.028) 0:00:05.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.434) 0:00:06.193 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpku6an7ba" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:44:48 +0000 (0:00:00.261) 0:00:06.455 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.450) 0:00:06.906 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.025) 0:00:06.932 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.046) 0:00:06.979 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.031) 0:00:07.010 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.023) 0:00:07.034 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.176) 0:00:07.210 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.028) 0:00:07.239 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.044) 0:00:07.284 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.036) 0:00:07.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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.020) 0:00:07.341 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461889.0010736, "block_size": 4096, "blocks": 8, "ctime": 1708461889.0010736, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461889.0010736, "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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.131) 0:00:07.473 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.022) 0:00:07.495 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022622", "end": "2024-02-20 20:44:49.759183", "rc": 1, "start": "2024-02-20 20:44:49.736561" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.157) 0:00:07.653 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.034) 0:00:07.688 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003568", "end": "2024-02-20 20:44:49.934447", "rc": 0, "start": "2024-02-20 20:44:49.930879" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.139) 0:00:07.828 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:44:49 +0000 (0:00:00.028) 0:00:07.857 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003575", "end": "2024-02-20 20:44:50.100272", "rc": 0, "start": "2024-02-20 20:44:50.096697" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.162) 0:00:08.020 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.026) 0:00:08.046 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.024) 0:00:08.070 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.023) 0:00:08.094 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.031) 0:00:08.126 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.033) 0:00:08.159 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.021) 0:00:08.181 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.038) 0:00:08.219 ****** 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.044961", "end": "2024-02-20 20:44:50.502778", "rc": 1, "start": "2024-02-20 20:44:50.457817" } 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.176) 0:00:08.396 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.036) 0:00:08.432 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.021) 0:00:08.454 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.047) 0:00:08.501 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.035) 0:00:08.537 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.033) 0:00:08.570 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003786", "end": "2024-02-20 20:44:50.823333", "rc": 0, "start": "2024-02-20 20:44:50.819547" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.179) 0:00:08.750 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.041) 0:00:08.791 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.023) 0:00:08.814 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:44:50 +0000 (0:00:00.050) 0:00:08.865 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007400", "end": "2024-02-20 20:44:51.121959", "rc": 1, "start": "2024-02-20 20:44:51.114559" } 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_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.171) 0:00:09.037 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.040) 0:00:09.077 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.146) 0:00:09.224 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.026) 0:00:09.250 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.049) 0:00:09.300 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.051) 0:00:09.351 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.048) 0:00:09.399 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.034) 0:00:09.433 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.060) 0:00:09.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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:44:51 +0000 (0:00:00.043) 0:00:09.537 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:44:52 +0000 (0:00:00.710) 0:00:10.248 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.966) 0:00:11.214 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.035) 0:00:11.250 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.032) 0:00:11.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.028) 0:00:11.312 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.083) 0:00:11.395 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.063) 0:00:11.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.043) 0:00:11.502 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.057) 0:00:11.559 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.025) 0:00:11.585 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.020) 0:00:11.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.022) 0:00:11.627 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:44:53 +0000 (0:00:00.241) 0:00:11.869 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpruk85n89" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.211) 0:00:12.081 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.254) 0:00:12.335 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.028) 0:00:12.363 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.026) 0:00:12.390 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.025) 0:00:12.416 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.024) 0:00:12.441 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.138) 0:00:12.579 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.031) 0:00:12.610 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.050) 0:00:12.661 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:44:54 +0000 (0:00:00.068) 0:00:12.729 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.153) 0:00:12.882 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.043) 0:00:12.926 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.039) 0:00:12.966 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.022) 0:00:12.989 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461894.4110684, "block_size": 4096, "blocks": 8, "ctime": 1708461894.4110684, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461894.4110684, "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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.134) 0:00:13.123 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.025) 0:00:13.148 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022517", "end": "2024-02-20 20:44:55.410674", "rc": 1, "start": "2024-02-20 20:44:55.388157" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.174) 0:00:13.323 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.026) 0:00:13.349 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003793", "end": "2024-02-20 20:44:55.602623", "rc": 0, "start": "2024-02-20 20:44:55.598830" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.148) 0:00:13.498 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.027) 0:00:13.525 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003796", "end": "2024-02-20 20:44:55.772349", "rc": 0, "start": "2024-02-20 20:44:55.768553" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.143) 0:00:13.669 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.049) 0:00:13.718 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.049) 0:00:13.768 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:44:55 +0000 (0:00:00.046) 0:00:13.814 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.061) 0:00:13.875 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.022) 0:00:13.897 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.026) 0:00:13.924 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.076) 0:00:14.000 ****** 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.040362", "end": "2024-02-20 20:44:56.306638", "rc": 1, "start": "2024-02-20 20:44:56.266276" } 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.224) 0:00:14.225 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.053) 0:00:14.278 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.025) 0:00:14.303 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.054) 0:00:14.358 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.084) 0:00:14.443 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.055) 0:00:14.498 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-02-20 20:44:56.760055", "rc": 0, "start": "2024-02-20 20:44:56.756603" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.165) 0:00:14.663 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.025) 0:00:14.688 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:44:56 +0000 (0:00:00.072) 0:00:14.760 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.109) 0:00:14.870 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.037) 0:00:14.908 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.080) 0:00:14.988 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.047) 0:00:15.035 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.031) 0:00:15.067 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.044) 0:00:15.111 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:44:57 +0000 (0:00:00.716) 0:00:15.828 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:44:58 +0000 (0:00:00.993) 0:00:16.821 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.053) 0:00:16.875 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.027) 0:00:16.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.042) 0:00:16.944 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.094) 0:00:17.039 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.051) 0:00:17.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.023) 0:00:17.114 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.032) 0:00:17.147 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.033) 0:00:17.181 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.041) 0:00:17.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.023) 0:00:17.245 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.259) 0:00:17.505 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpavj72bzy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:44:59 +0000 (0:00:00.212) 0:00:17.717 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.236) 0:00:17.954 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.039) 0:00:17.993 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.035) 0:00:18.029 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.035) 0:00:18.065 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.022) 0:00:18.087 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.153) 0:00:18.241 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.023) 0:00:18.264 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.044) 0:00:18.309 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.057) 0:00:18.366 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.048) 0:00:18.415 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.032) 0:00:18.447 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.027) 0:00:18.474 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:00 +0000 (0:00:00.031) 0:00:18.506 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:01 +0000 (0:00:00.690) 0:00:19.197 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.975) 0:00:20.172 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.025) 0:00:20.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.023) 0:00:20.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.030) 0:00:20.252 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.063) 0:00:20.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.021) 0:00:20.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.022) 0:00:20.360 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.024) 0:00:20.384 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.027) 0:00:20.411 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.023) 0:00:20.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.021) 0:00:20.457 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:02 +0000 (0:00:00.235) 0:00:20.692 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmp6z6iumcs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.209) 0:00:20.901 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.537) 0:00:21.439 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.022) 0:00:21.461 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.027) 0:00:21.489 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.024) 0:00:21.513 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.021) 0:00:21.534 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.139) 0:00:21.674 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.053) 0:00:21.727 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:03 +0000 (0:00:00.034) 0:00:21.762 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461903.4750597, "block_size": 4096, "blocks": 0, "ctime": 1708461903.4710598, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17638, "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": 1708461903.4710598, "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_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.170) 0:00:21.933 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.025) 0:00:21.958 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.039) 0:00:21.998 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.025) 0:00:22.023 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461903.29806, "block_size": 4096, "blocks": 8, "ctime": 1708461900.0470629, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461900.0470629, "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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.166) 0:00:22.189 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.023) 0:00:22.213 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022894", "end": "2024-02-20 20:45:04.474962", "rc": 1, "start": "2024-02-20 20:45:04.452068" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.154) 0:00:22.368 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.024) 0:00:22.392 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003553", "end": "2024-02-20 20:45:04.637256", "rc": 0, "start": "2024-02-20 20:45:04.633703" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.141) 0:00:22.534 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.030) 0:00:22.565 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003646", "end": "2024-02-20 20:45:04.814148", "rc": 0, "start": "2024-02-20 20:45:04.810502" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.158) 0:00:22.724 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.039) 0:00:22.763 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.029) 0:00:22.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.028) 0:00:22.821 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:04 +0000 (0:00:00.022) 0:00:22.844 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.034) 0:00:22.878 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.029) 0:00:22.908 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.079) 0:00:22.987 ****** 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.047358", "end": "2024-02-20 20:45:05.280809", "rc": 0, "start": "2024-02-20 20:45:05.233451" } 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.191) 0:00:23.178 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.087) 0:00:23.265 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.034) 0:00:23.300 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.086) 0:00:23.386 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.041) 0:00:23.428 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.052) 0:00:23.481 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003816", "end": "2024-02-20 20:45:05.726393", "rc": 0, "start": "2024-02-20 20:45:05.722577" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.147) 0:00:23.628 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.024) 0:00:23.653 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.022) 0:00:23.675 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.056) 0:00:23.732 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:05 +0000 (0:00:00.055) 0:00:23.788 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.082) 0:00:23.870 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.039) 0:00:23.909 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.023) 0:00:23.933 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.071) 0:00:24.004 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:06 +0000 (0:00:00.745) 0:00:24.750 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.931) 0:00:25.682 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.025) 0:00:25.707 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.022) 0:00:25.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.020) 0:00:25.750 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.054) 0:00:25.805 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.021) 0:00:25.827 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:07 +0000 (0:00:00.024) 0:00:25.851 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.060) 0:00:25.911 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.027) 0:00:25.938 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.025) 0:00:25.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.025) 0:00:25.989 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.234) 0:00:26.224 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpidlwy01z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.213) 0:00:26.437 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.228) 0:00:26.666 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.025) 0:00:26.691 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.039) 0:00:26.731 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.027) 0:00:26.759 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:08 +0000 (0:00:00.024) 0:00:26.783 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.165) 0:00:26.948 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.024) 0:00:26.973 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.035) 0:00:27.008 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.072) 0:00:27.080 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.037) 0:00:27.118 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.029) 0:00:27.147 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:09 +0000 (0:00:00.026) 0:00:27.174 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.723) 0:00:27.897 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.936) 0:00:28.834 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:10 +0000 (0:00:00.024) 0:00:28.859 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.022) 0:00:28.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.026) 0:00:28.908 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.070) 0:00:28.978 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.024) 0:00:29.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.025) 0:00:29.028 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.025) 0:00:29.054 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.025) 0:00:29.079 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.025) 0:00:29.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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.024) 0:00:29.129 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.230) 0:00:29.359 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmp_3i2ivbi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:11 +0000 (0:00:00.204) 0:00:29.564 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.478) 0:00:30.042 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.036) 0:00:30.079 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.038) 0:00:30.117 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.027) 0:00:30.145 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.022) 0:00:30.167 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.136) 0:00:30.303 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.080) 0:00:30.383 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.082) 0:00:30.465 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.044) 0:00:30.510 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.028) 0:00:30.538 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.022) 0:00:30.561 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:12 +0000 (0:00:00.022) 0:00:30.583 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:13 +0000 (0:00:00.690) 0:00:31.273 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.963) 0:00:32.237 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.025) 0:00:32.262 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.028) 0:00:32.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.022) 0:00:32.313 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.041) 0:00:32.355 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.021) 0:00:32.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.021) 0:00:32.397 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.024) 0:00:32.421 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.026) 0:00:32.447 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.022) 0:00:32.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.032) 0:00:32.502 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:14 +0000 (0:00:00.231) 0:00:32.734 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmp86ltg0mc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.228) 0:00:32.962 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.228) 0:00:33.191 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.021) 0:00:33.213 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.021) 0:00:33.235 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.056) 0:00:33.291 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.022) 0:00:33.313 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.146) 0:00:33.459 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.053) 0:00:33.513 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.040) 0:00:33.553 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461912.0730515, "block_size": 4096, "blocks": 0, "ctime": 1708461912.0670514, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17638, "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": 1708461912.0670514, "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_hotfixgacpe91v/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.145) 0:00:33.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.030) 0:00:33.729 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.046) 0:00:33.775 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:15 +0000 (0:00:00.032) 0:00:33.808 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.138) 0:00:33.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.023) 0:00:33.970 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022026", "end": "2024-02-20 20:45:16.233655", "rc": 1, "start": "2024-02-20 20:45:16.211629" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.159) 0:00:34.129 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.032) 0:00:34.162 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.022) 0:00:34.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.050) 0:00:34.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.022) 0:00:34.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.024) 0:00:34.282 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.024) 0:00:34.307 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.020) 0:00:34.327 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.022) 0:00:34.350 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.062) 0:00:34.412 ****** 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.048931", "end": "2024-02-20 20:45:16.717853", "rc": 0, "start": "2024-02-20 20:45:16.668922" } 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:103 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.202) 0:00:34.615 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.043) 0:00:34.659 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.023) 0:00:34.683 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.085) 0:00:34.769 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.044) 0:00:34.813 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:16 +0000 (0:00:00.033) 0:00:34.846 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003806", "end": "2024-02-20 20:45:17.090132", "rc": 0, "start": "2024-02-20 20:45:17.086326" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.138) 0:00:34.985 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.053) 0:00:35.039 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.023) 0:00:35.062 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.046) 0:00:35.108 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.040) 0:00:35.148 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.051) 0:00:35.200 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.029) 0:00:35.230 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.023) 0:00:35.253 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:17 +0000 (0:00:00.023) 0:00:35.277 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:18 +0000 (0:00:00.714) 0:00:35.991 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.974) 0:00:36.966 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.023) 0:00:36.989 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.030) 0:00:37.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.023) 0:00:37.044 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.058) 0:00:37.102 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.034) 0:00:37.136 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.034) 0:00:37.171 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.027) 0:00:37.199 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.037) 0:00:37.236 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.024) 0:00:37.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.027) 0:00:37.288 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.230) 0:00:37.519 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmphd8kk9o4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:19 +0000 (0:00:00.206) 0:00:37.725 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.266) 0:00:37.991 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.036) 0:00:38.027 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.029) 0:00:38.057 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.038) 0:00:38.095 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.022) 0:00:38.118 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.156) 0:00:38.274 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.022) 0:00:38.297 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.034) 0:00:38.331 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.038) 0:00:38.370 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.025) 0:00:38.395 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.023) 0:00:38.418 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:20 +0000 (0:00:00.021) 0:00:38.440 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:21 +0000 (0:00:00.732) 0:00:39.173 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.933) 0:00:40.106 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.023) 0:00:40.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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.023) 0:00:40.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.021) 0:00:40.175 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.045) 0:00:40.221 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.022) 0:00:40.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.021) 0:00:40.265 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.024) 0:00:40.290 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.024) 0:00:40.314 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.021) 0:00:40.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.020) 0:00:40.357 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.255) 0:00:40.612 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpz1cs8whr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:22 +0000 (0:00:00.219) 0:00:40.831 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.473) 0:00:41.305 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.040) 0:00:41.345 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.022) 0:00:41.368 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.022) 0:00:41.390 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.021) 0:00:41.411 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.126) 0:00:41.537 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.040) 0:00:41.577 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.047) 0:00:41.625 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.029) 0:00:41.654 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.032) 0:00:41.687 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:23 +0000 (0:00:00.022) 0:00:41.709 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:24 +0000 (0:00:00.701) 0:00:42.411 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.926) 0:00:43.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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.022) 0:00:43.359 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.021) 0:00:43.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.022) 0:00:43.403 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.044) 0:00:43.448 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.038) 0:00:43.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.023) 0:00:43.510 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.026) 0:00:43.537 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.026) 0:00:43.563 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.020) 0:00:43.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.046) 0:00:43.631 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:25 +0000 (0:00:00.224) 0:00:43.856 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpqhgpe0fw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.235) 0:00:44.091 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.272) 0:00:44.363 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.030) 0:00:44.393 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.029) 0:00:44.423 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.023) 0:00:44.446 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.020) 0:00:44.467 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.146) 0:00:44.614 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.057) 0:00:44.672 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.065) 0:00:44.737 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.060) 0:00:44.797 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:26 +0000 (0:00:00.059) 0:00:44.857 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.035) 0:00:44.892 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.024) 0:00:44.917 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:27 +0000 (0:00:00.707) 0:00:45.624 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:28 +0000 (0:00:01.005) 0:00:46.630 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.049) 0:00:46.680 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.023) 0:00:46.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.024) 0:00:46.727 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.042) 0:00:46.770 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.023) 0:00:46.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.031) 0:00:46.825 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:28 +0000 (0:00:00.030) 0:00:46.856 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.025) 0:00:46.881 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.051) 0:00:46.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.021) 0:00:46.954 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.248) 0:00:47.202 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmppwvutmm1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.294) 0:00:47.497 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.230) 0:00:47.727 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.022) 0:00:47.749 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.024) 0:00:47.774 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.022) 0:00:47.796 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:29 +0000 (0:00:00.020) 0:00:47.816 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.144) 0:00:47.961 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.050) 0:00:48.011 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.077) 0:00:48.089 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.044) 0:00:48.134 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.201) 0:00:48.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.053) 0:00:48.389 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022922", "end": "2024-02-20 20:45:30.663283", "rc": 1, "start": "2024-02-20 20:45:30.640361" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.194) 0:00:48.583 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.033) 0:00:48.616 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.043) 0:00:48.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.035) 0:00:48.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.026) 0:00:48.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.023) 0:00:48.744 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.028) 0:00:48.773 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.044) 0:00:48.818 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:30 +0000 (0:00:00.046) 0:00:48.865 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.057) 0:00:48.922 ****** 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.047111", "end": "2024-02-20 20:45:31.227788", "rc": 0, "start": "2024-02-20 20:45:31.180677" } 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_hotfixgacpe91v/tests/playbooks/tests_states.yml:126 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.209) 0:00:49.132 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.050) 0:00:49.182 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.028) 0:00:49.210 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.068) 0:00:49.279 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.107) 0:00:49.387 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.046) 0:00:49.434 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-02-20 20:45:31.693035", "rc": 0, "start": "2024-02-20 20:45:31.689203" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.167) 0:00:49.601 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.047) 0:00:49.648 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.036) 0:00:49.685 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.093) 0:00:49.778 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:31 +0000 (0:00:00.056) 0:00:49.835 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.059) 0:00:49.895 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.027) 0:00:49.923 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.043) 0:00:49.967 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.040) 0:00:50.007 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:32 +0000 (0:00:00.794) 0:00:50.802 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.942) 0:00:51.744 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.034) 0:00:51.779 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.023) 0:00:51.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:33 +0000 (0:00:00.031) 0:00:51.834 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.057) 0:00:51.891 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.042) 0:00:51.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.028) 0:00:51.962 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.037) 0:00:51.999 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.026) 0:00:52.026 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.043) 0:00:52.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.051) 0:00:52.121 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.299) 0:00:52.421 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpmbunlz5s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:34 +0000 (0:00:00.294) 0:00:52.716 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.272) 0:00:52.988 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.039) 0:00:53.027 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.049) 0:00:53.076 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.027) 0:00:53.104 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.045) 0:00:53.149 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.147) 0:00:53.297 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.028) 0:00:53.325 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.047) 0:00:53.373 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.047) 0:00:53.420 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.026) 0:00:53.447 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.020) 0:00:53.467 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:35 +0000 (0:00:00.020) 0:00:53.488 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:36 +0000 (0:00:00.706) 0:00:54.194 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.954) 0:00:55.149 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.025) 0:00:55.175 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.024) 0:00:55.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.022) 0:00:55.222 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.051) 0:00:55.274 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.021) 0:00:55.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.021) 0:00:55.316 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.023) 0:00:55.340 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.024) 0:00:55.364 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.021) 0:00:55.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.047) 0:00:55.433 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:37 +0000 (0:00:00.237) 0:00:55.671 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpow816hmw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.252) 0:00:55.924 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.588) 0:00:56.513 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.051) 0:00:56.564 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.030) 0:00:56.595 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.058) 0:00:56.653 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:38 +0000 (0:00:00.034) 0:00:56.688 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.218) 0:00:56.906 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.038) 0:00:56.945 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.047) 0:00:56.992 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.046) 0:00:57.039 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.035) 0:00:57.074 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:39 +0000 (0:00:00.061) 0:00:57.136 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:40 +0000 (0:00:00.745) 0:00:57.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:40 +0000 (0:00:00.965) 0:00:58.846 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.024) 0:00:58.871 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.022) 0:00:58.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.021) 0:00:58.915 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.045) 0:00:58.961 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.036) 0:00:58.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.052) 0:00:59.050 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.057) 0:00:59.108 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.028) 0:00:59.136 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.022) 0:00:59.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.026) 0:00:59.185 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.234) 0:00:59.419 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpm75zkn_e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:41 +0000 (0:00:00.231) 0:00:59.651 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.265) 0:00:59.916 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.034) 0:00:59.950 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.037) 0:00:59.988 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.052) 0:01:00.040 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.040) 0:01:00.081 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.151) 0:01:00.232 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.053) 0:01:00.286 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.050) 0:01:00.337 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.099) 0:01:00.436 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.061) 0:01:00.498 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.030) 0:01:00.529 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:45:42 +0000 (0:00:00.022) 0:01:00.551 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:45:43 +0000 (0:00:00.699) 0:01:01.250 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.933) 0:01:02.184 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.022) 0:01:02.207 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.032) 0:01:02.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.023) 0:01:02.263 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.047) 0:01:02.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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.081) 0:01:02.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.034) 0:01:02.426 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.037) 0:01:02.464 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.037) 0:01:02.501 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.052) 0:01:02.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:45:44 +0000 (0:00:00.057) 0:01:02.612 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.359) 0:01:02.971 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17729qw6xb28i/tmpr_zu72ap" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.266) 0:01:03.238 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.244) 0:01:03.482 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.036) 0:01:03.519 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.048) 0:01:03.567 ****** 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_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.054) 0:01:03.621 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.047) 0:01:03.668 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:45:45 +0000 (0:00:00.155) 0:01:03.824 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.056) 0:01:03.880 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.121) 0:01:04.002 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.032) 0:01:04.034 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.180) 0:01:04.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.056) 0:01:04.271 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021701", "end": "2024-02-20 20:45:46.541532", "rc": 1, "start": "2024-02-20 20:45:46.519831" } 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.163) 0:01:04.435 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.022) 0:01:04.458 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.024) 0:01:04.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.022) 0:01:04.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.025) 0:01:04.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.028) 0:01:04.558 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 20:45:46 +0000 (0:00:00.032) 0:01:04.591 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.716279", "end": "2024-02-20 20:45:47.548882", "rc": 0, "start": "2024-02-20 20:45:46.832603" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.856) 0:01:05.447 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.055) 0:01:05.502 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.034) 0:01:05.536 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.054) 0:01:05.591 ****** 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_hotfixgacpe91v/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.032) 0:01:05.623 ****** included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.046) 0:01:05.669 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049228", "end": "2024-02-20 20:45:47.959851", "rc": 0, "start": "2024-02-20 20:45:47.910623" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:45:47 +0000 (0:00:00.185) 0:01:05.855 ****** 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.007718", "end": "2024-02-20 20:45:48.102217", "rc": 0, "start": "2024-02-20 20:45:48.094499" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:6f:b7:a9:29:73 brd ff:ff:ff:ff:ff:ff inet 10.31.47.225/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3158sec preferred_lft 3158sec inet6 fe80::6f:b7ff:fea9:2973/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.225 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_hotfixgacpe91v/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:45:48 +0000 (0:00:00.145) 0:01:06.001 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.411950", "end": "2024-02-20 20:45:48.658434", "rc": 0, "start": "2024-02-20 20:45:48.246484" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1364 0 --:--:-- --:--:-- --:--:-- 1367 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1750 0 --:--:-- --:--:-- --:--:-- 1753 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=13 unreachable=0 failed=0 skipped=240 rescued=0 ignored=10 Tuesday 20 February 2024 20:45:48 +0000 (0:00:00.543) 0:01:06.544 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.08s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Enable network service --------------------- 1.46s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Check which packages are installed --------- 1.22s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.19s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:130 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.96s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixgacpe91v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---