# 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-bond_options_rewritep2q7hl4s/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 17:25:47 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.577) 0:00:00.590 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.022) 0:00:00.613 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.234) 0:00:00.848 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.191) 0:00:01.039 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.020) 0:00:01.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.016) 0:00:01.077 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.036) 0:00:01.113 ****** 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-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:25:48 +0000 (0:00:00.193) 0:00:01.306 ****** 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-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.467) 0:00:01.773 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.194719", "end": "2024-02-06 17:25:49.504357", "rc": 0, "start": "2024-02-06 17:25:49.309638" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.330) 0:00:02.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.018) 0:00:02.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.010) 0:00:02.133 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.019) 0:00:02.153 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:25:49 +0000 (0:00:00.409) 0:00:02.562 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.012) 0:00:02.574 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.016) 0:00:02.591 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.010) 0:00:02.602 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.034) 0:00:02.636 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.013) 0:00:02.650 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:25:50 +0000 (0:00:00.013) 0:00:02.663 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004504", "end": "2024-02-06 17:25:51.203909", "rc": 0, "start": "2024-02-06 17:25:50.199405" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:25:51 +0000 (0:00:01.127) 0:00:03.791 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.012) 0:00:03.803 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.013) 0:00:03.816 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.022) 0:00:03.838 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010783", "end": "2024-02-06 17:25:51.383524", "rc": 1, "start": "2024-02-06 17:25:51.372741" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.153) 0:00:03.992 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.016) 0:00:04.008 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.131) 0:00:04.140 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.015) 0:00:04.155 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.017) 0:00:04.173 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.033) 0:00:04.206 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.068) 0:00:04.274 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.012) 0:00:04.287 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.011) 0:00:04.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:25:51 +0000 (0:00:00.011) 0:00:04.309 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:25:52 +0000 (0:00:00.819) 0:00:05.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.862) 0:00:05.991 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.024) 0:00:06.016 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.029) 0:00:06.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.056) 0:00:06.103 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.113) 0:00:06.216 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.038) 0:00:06.254 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.022) 0:00:06.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.032) 0:00:06.309 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.023) 0:00:06.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:25:53 +0000 (0:00:00.021) 0:00:06.353 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.431) 0:00:06.784 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpbubxsnon" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.261) 0:00:07.046 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.332) 0:00:07.379 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.021) 0:00:07.401 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.039) 0:00:07.441 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.065) 0:00:07.506 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:25:54 +0000 (0:00:00.021) 0:00:07.528 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.215) 0:00:07.744 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.025) 0:00:07.769 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.042) 0:00:07.811 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.036) 0:00:07.847 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.020) 0:00:07.868 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240354.7819273, "block_size": 4096, "blocks": 8, "ctime": 1707240354.7819273, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240354.7819273, "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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.155) 0:00:08.023 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.067) 0:00:08.090 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023674", "end": "2024-02-06 17:25:55.674975", "rc": 1, "start": "2024-02-06 17:25:55.651301" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.185) 0:00:08.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.026) 0:00:08.303 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003275", "end": "2024-02-06 17:25:55.861820", "rc": 0, "start": "2024-02-06 17:25:55.858545" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.181) 0:00:08.484 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:25:55 +0000 (0:00:00.037) 0:00:08.521 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003273", "end": "2024-02-06 17:25:56.081742", "rc": 0, "start": "2024-02-06 17:25:56.078469" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.161) 0:00:08.683 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.038) 0:00:08.721 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.083) 0:00:08.805 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.031) 0:00:08.836 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.032) 0:00:08.869 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.041) 0:00:08.910 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.029) 0:00:08.940 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.052) 0:00:08.992 ****** 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.046636", "end": "2024-02-06 17:25:56.574974", "rc": 1, "start": "2024-02-06 17:25:56.528338" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.184) 0:00:09.176 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.036) 0:00:09.213 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.023) 0:00:09.236 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.045) 0:00:09.281 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.034) 0:00:09.316 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.051) 0:00:09.367 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003663", "end": "2024-02-06 17:25:56.907830", "rc": 0, "start": "2024-02-06 17:25:56.904167" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.136) 0:00:09.503 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.022) 0:00:09.526 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:25:56 +0000 (0:00:00.044) 0:00:09.571 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.045) 0:00:09.617 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007296", "end": "2024-02-06 17:25:57.158752", "rc": 1, "start": "2024-02-06 17:25:57.151456" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.136) 0:00:09.754 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.033) 0:00:09.787 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.128) 0:00:09.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.023) 0:00:09.940 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.038) 0:00:09.979 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.049) 0:00:10.028 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.050) 0:00:10.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.036) 0:00:10.115 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.029) 0:00:10.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:25:57 +0000 (0:00:00.029) 0:00:10.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:25:58 +0000 (0:00:00.780) 0:00:10.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.685) 0:00:11.639 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.024) 0:00:11.664 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.024) 0:00:11.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.022) 0:00:11.711 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.043) 0:00:11.754 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.029) 0:00:11.784 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.033) 0:00:11.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.031) 0:00:11.849 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.023) 0:00:11.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.022) 0:00:11.895 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.281) 0:00:12.176 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpscl_7qjg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:25:59 +0000 (0:00:00.231) 0:00:12.408 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.272) 0:00:12.681 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.021) 0:00:12.702 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.022) 0:00:12.725 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.024) 0:00:12.750 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.025) 0:00:12.775 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.137) 0:00:12.913 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.025) 0:00:12.938 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.052) 0:00:12.991 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.053) 0:00:13.044 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.134) 0:00:13.178 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.035) 0:00:13.214 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.069) 0:00:13.283 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.030) 0:00:13.313 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240360.0808887, "block_size": 4096, "blocks": 8, "ctime": 1707240360.0808887, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240360.0808887, "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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.146) 0:00:13.459 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:00 +0000 (0:00:00.037) 0:00:13.497 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020607", "end": "2024-02-06 17:26:01.052208", "rc": 1, "start": "2024-02-06 17:26:01.031601" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.153) 0:00:13.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.024) 0:00:13.676 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003364", "end": "2024-02-06 17:26:01.216879", "rc": 0, "start": "2024-02-06 17:26:01.213515" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.138) 0:00:13.814 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.032) 0:00:13.847 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003316", "end": "2024-02-06 17:26:01.388595", "rc": 0, "start": "2024-02-06 17:26:01.385279" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.158) 0:00:14.005 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.036) 0:00:14.042 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.025) 0:00:14.068 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.045) 0:00:14.113 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.039) 0:00:14.153 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.021) 0:00:14.174 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.039) 0:00:14.214 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.046) 0:00:14.261 ****** 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.042953", "end": "2024-02-06 17:26:01.842528", "rc": 1, "start": "2024-02-06 17:26:01.799575" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.225) 0:00:14.487 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.039) 0:00:14.526 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:01 +0000 (0:00:00.026) 0:00:14.553 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.100) 0:00:14.653 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.038) 0:00:14.692 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.035) 0:00:14.728 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003589", "end": "2024-02-06 17:26:02.265441", "rc": 0, "start": "2024-02-06 17:26:02.261852" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.140) 0:00:14.868 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.038) 0:00:14.906 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.039) 0:00:14.946 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.100) 0:00:15.046 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.051) 0:00:15.098 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.062) 0:00:15.160 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.064) 0:00:15.224 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.024) 0:00:15.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:02 +0000 (0:00:00.038) 0:00:15.287 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:03 +0000 (0:00:00.777) 0:00:16.064 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.633) 0:00:16.698 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.021) 0:00:16.720 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.020) 0:00:16.741 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.019) 0:00:16.760 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.041) 0:00:16.802 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.024) 0:00:16.827 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.021) 0:00:16.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.047) 0:00:16.896 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.022) 0:00:16.918 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.024) 0:00:16.942 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.227) 0:00:17.170 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmptcdjmytb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:04 +0000 (0:00:00.236) 0:00:17.406 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.247) 0:00:17.653 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.025) 0:00:17.679 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.031) 0:00:17.710 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.037) 0:00:17.747 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.026) 0:00:17.774 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.144) 0:00:17.918 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.032) 0:00:17.950 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.044) 0:00:17.994 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.041) 0:00:18.036 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.092) 0:00:18.129 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.040) 0:00:18.170 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.045) 0:00:18.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:05 +0000 (0:00:00.021) 0:00:18.237 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:06 +0000 (0:00:00.748) 0:00:18.985 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.640) 0:00:19.626 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.025) 0:00:19.651 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.039) 0:00:19.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.060) 0:00:19.751 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.140) 0:00:19.892 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.063) 0:00:19.956 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.025) 0:00:19.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.041) 0:00:20.022 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.023) 0:00:20.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.026) 0:00:20.072 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:07 +0000 (0:00:00.267) 0:00:20.340 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpjlu_jfex" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.236) 0:00:20.577 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.478) 0:00:21.055 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.021) 0:00:21.076 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.023) 0:00:21.100 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.028) 0:00:21.129 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.025) 0:00:21.155 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.132) 0:00:21.288 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.081) 0:00:21.369 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.060) 0:00:21.429 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240368.3778284, "block_size": 4096, "blocks": 0, "ctime": 1707240368.3748283, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17457, "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": 1707240368.3748283, "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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:26:08 +0000 (0:00:00.132) 0:00:21.561 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.023) 0:00:21.585 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.036) 0:00:21.621 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.021) 0:00:21.643 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240368.2008297, "block_size": 4096, "blocks": 8, "ctime": 1707240365.0418527, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4535613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707240365.0418527, "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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.145) 0:00:21.788 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.040) 0:00:21.829 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021695", "end": "2024-02-06 17:26:09.386305", "rc": 1, "start": "2024-02-06 17:26:09.364610" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.171) 0:00:22.001 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.036) 0:00:22.037 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003495", "end": "2024-02-06 17:26:09.583567", "rc": 0, "start": "2024-02-06 17:26:09.580072" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.145) 0:00:22.183 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.027) 0:00:22.211 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003535", "end": "2024-02-06 17:26:09.752781", "rc": 0, "start": "2024-02-06 17:26:09.749246" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.152) 0:00:22.364 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.042) 0:00:22.407 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.027) 0:00:22.434 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.036) 0:00:22.470 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.058) 0:00:22.529 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:09 +0000 (0:00:00.025) 0:00:22.555 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.024) 0:00:22.580 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.050) 0:00:22.630 ****** 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.051625", "end": "2024-02-06 17:26:10.217502", "rc": 0, "start": "2024-02-06 17:26:10.165877" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.203) 0:00:22.834 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.056) 0:00:22.891 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.027) 0:00:22.919 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.050) 0:00:22.970 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.036) 0:00:23.006 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:10 +0000 (0:00:00.037) 0:00:23.043 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004804", "end": "2024-02-06 17:26:11.588389", "rc": 0, "start": "2024-02-06 17:26:10.583585" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:11 +0000 (0:00:01.155) 0:00:24.198 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.029) 0:00:24.228 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.022) 0:00:24.250 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.043) 0:00:24.294 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.039) 0:00:24.334 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.041) 0:00:24.376 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.026) 0:00:24.402 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.021) 0:00:24.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:11 +0000 (0:00:00.028) 0:00:24.452 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:12 +0000 (0:00:00.763) 0:00:25.215 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.721) 0:00:25.937 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.038) 0:00:25.976 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.031) 0:00:26.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.026) 0:00:26.034 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.043) 0:00:26.077 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.030) 0:00:26.107 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.050) 0:00:26.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.029) 0:00:26.187 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.022) 0:00:26.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.027) 0:00:26.236 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:13 +0000 (0:00:00.233) 0:00:26.470 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmplqu37bgf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.258) 0:00:26.728 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.283) 0:00:27.012 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.021) 0:00:27.034 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.033) 0:00:27.067 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.034) 0:00:27.102 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.025) 0:00:27.127 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.180) 0:00:27.308 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.023) 0:00:27.332 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.065) 0:00:27.397 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.043) 0:00:27.440 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.026) 0:00:27.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.022) 0:00:27.490 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:14 +0000 (0:00:00.021) 0:00:27.511 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:15 +0000 (0:00:00.774) 0:00:28.286 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.724) 0:00:29.010 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.025) 0:00:29.035 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.024) 0:00:29.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.023) 0:00:29.083 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.042) 0:00:29.125 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.051) 0:00:29.177 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.028) 0:00:29.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.026) 0:00:29.232 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.028) 0:00:29.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.026) 0:00:29.287 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:16 +0000 (0:00:00.224) 0:00:29.512 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpf2d6uyb9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.216) 0:00:29.728 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.552) 0:00:30.281 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.021) 0:00:30.303 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.025) 0:00:30.328 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.031) 0:00:30.360 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.046) 0:00:30.406 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:17 +0000 (0:00:00.143) 0:00:30.550 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.050) 0:00:30.601 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.039) 0:00:30.641 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.039) 0:00:30.680 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.028) 0:00:30.709 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.028) 0:00:30.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.022) 0:00:30.760 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:18 +0000 (0:00:00.750) 0:00:31.510 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.645) 0:00:32.156 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.024) 0:00:32.180 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.022) 0:00:32.203 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.021) 0:00:32.225 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.043) 0:00:32.268 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.023) 0:00:32.292 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.023) 0:00:32.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.027) 0:00:32.343 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.028) 0:00:32.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:19 +0000 (0:00:00.035) 0:00:32.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.280) 0:00:32.687 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpywzevkxv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.297) 0:00:32.985 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.256) 0:00:33.242 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.022) 0:00:33.264 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.024) 0:00:33.288 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.050) 0:00:33.339 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.037) 0:00:33.377 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:20 +0000 (0:00:00.153) 0:00:33.530 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.092) 0:00:33.623 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.039) 0:00:33.662 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240377.6137612, "block_size": 4096, "blocks": 0, "ctime": 1707240377.6117613, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17457, "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": 1707240377.6117613, "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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.135) 0:00:33.798 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.026) 0:00:33.824 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.059) 0:00:33.883 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.028) 0:00:33.912 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.158) 0:00:34.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.024) 0:00:34.095 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021740", "end": "2024-02-06 17:26:21.650149", "rc": 1, "start": "2024-02-06 17:26:21.628409" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.150) 0:00:34.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.024) 0:00:34.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.023) 0:00:34.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.023) 0:00:34.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.028) 0:00:34.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.032) 0:00:34.379 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.026) 0:00:34.405 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.041) 0:00:34.446 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.044) 0:00:34.490 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:21 +0000 (0:00:00.040) 0:00:34.531 ****** 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.048065", "end": "2024-02-06 17:26:22.113458", "rc": 0, "start": "2024-02-06 17:26:22.065393" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.180) 0:00:34.711 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.038) 0:00:34.750 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.029) 0:00:34.779 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.076) 0:00:34.855 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.037) 0:00:34.893 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:22 +0000 (0:00:00.035) 0:00:34.928 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004390", "end": "2024-02-06 17:26:23.465365", "rc": 0, "start": "2024-02-06 17:26:22.460975" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:23 +0000 (0:00:01.135) 0:00:36.063 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.028) 0:00:36.092 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.028) 0:00:36.121 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.062) 0:00:36.184 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.035) 0:00:36.219 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.052) 0:00:36.272 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.067) 0:00:36.339 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.025) 0:00:36.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:23 +0000 (0:00:00.021) 0:00:36.387 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:24 +0000 (0:00:00.750) 0:00:37.137 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.634) 0:00:37.771 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.022) 0:00:37.794 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.022) 0:00:37.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.021) 0:00:37.838 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.052) 0:00:37.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.034) 0:00:37.926 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.036) 0:00:37.962 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.051) 0:00:38.013 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.031) 0:00:38.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.026) 0:00:38.072 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.240) 0:00:38.312 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpr8j_wdvl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:25 +0000 (0:00:00.208) 0:00:38.521 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.224) 0:00:38.746 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.024) 0:00:38.770 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.022) 0:00:38.793 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.022) 0:00:38.816 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.035) 0:00:38.851 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.128) 0:00:38.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 [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.028) 0:00:39.007 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.037) 0:00:39.045 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.049) 0:00:39.095 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.062) 0:00:39.157 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.021) 0:00:39.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:26 +0000 (0:00:00.021) 0:00:39.200 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:27 +0000 (0:00:00.747) 0:00:39.947 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.644) 0:00:40.592 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.023) 0:00:40.615 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.022) 0:00:40.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.023) 0:00:40.661 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.047) 0:00:40.709 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.022) 0:00:40.731 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.022) 0:00:40.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.074) 0:00:40.827 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.031) 0:00:40.858 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.038) 0:00:40.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.230) 0:00:41.127 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpv39977lv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:28 +0000 (0:00:00.261) 0:00:41.389 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.486) 0:00:41.875 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.022) 0:00:41.897 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.039) 0:00:41.936 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.032) 0:00:41.969 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.021) 0:00:41.990 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.143) 0:00:42.134 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.043) 0:00:42.177 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.057) 0:00:42.235 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.102) 0:00:42.338 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.045) 0:00:42.384 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:29 +0000 (0:00:00.034) 0:00:42.418 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:30 +0000 (0:00:00.778) 0:00:43.196 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.651) 0:00:43.848 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.022) 0:00:43.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.023) 0:00:43.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.021) 0:00:43.916 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.045) 0:00:43.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.023) 0:00:43.984 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.023) 0:00:44.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.056) 0:00:44.065 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.032) 0:00:44.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.034) 0:00:44.132 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:31 +0000 (0:00:00.254) 0:00:44.387 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpxedzv6ze" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.281) 0:00:44.669 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.231) 0:00:44.900 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.022) 0:00:44.923 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.024) 0:00:44.947 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.028) 0:00:44.976 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.021) 0:00:44.998 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.143) 0:00:45.141 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.078) 0:00:45.219 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.062) 0:00:45.282 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.100) 0:00:45.383 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.067) 0:00:45.451 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.022) 0:00:45.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:32 +0000 (0:00:00.033) 0:00:45.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:33 +0000 (0:00:00.770) 0:00:46.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.651) 0:00:46.928 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.023) 0:00:46.951 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.023) 0:00:46.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.021) 0:00:46.996 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.046) 0:00:47.042 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.022) 0:00:47.065 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.050) 0:00:47.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.025) 0:00:47.141 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.024) 0:00:47.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.021) 0:00:47.187 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:34 +0000 (0:00:00.246) 0:00:47.434 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmp09wph2sv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.347) 0:00:47.781 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.252) 0:00:48.034 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.025) 0:00:48.059 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.025) 0:00:48.085 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.037) 0:00:48.122 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.039) 0:00:48.162 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.148) 0:00:48.310 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.080) 0:00:48.391 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.042) 0:00:48.434 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:35 +0000 (0:00:00.053) 0:00:48.487 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.132) 0:00:48.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.021) 0:00:48.641 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021814", "end": "2024-02-06 17:26:36.199026", "rc": 1, "start": "2024-02-06 17:26:36.177212" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.156) 0:00:48.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.039) 0:00:48.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.029) 0:00:48.866 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.029) 0:00:48.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.023) 0:00:48.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.022) 0:00:48.941 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.024) 0:00:48.965 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.029) 0:00:48.995 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.042) 0:00:49.037 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.044) 0:00:49.081 ****** 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.048832", "end": "2024-02-06 17:26:36.665505", "rc": 0, "start": "2024-02-06 17:26:36.616673" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.181) 0:00:49.263 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.038) 0:00:49.302 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.057) 0:00:49.360 ****** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.055) 0:00:49.415 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.039) 0:00:49.455 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:26:36 +0000 (0:00:00.067) 0:00:49.522 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003510", "end": "2024-02-06 17:26:37.100835", "rc": 0, "start": "2024-02-06 17:26:37.097325" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.175) 0:00:49.698 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.025) 0:00:49.723 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.030) 0:00:49.754 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.047) 0:00:49.802 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.036) 0:00:49.839 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.042) 0:00:49.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.028) 0:00:49.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.021) 0:00:49.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:37 +0000 (0:00:00.070) 0:00:50.001 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.782) 0:00:50.783 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.645) 0:00:51.429 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.023) 0:00:51.452 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.027) 0:00:51.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:38 +0000 (0:00:00.043) 0:00:51.523 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.050) 0:00:51.573 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.023) 0:00:51.597 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.022) 0:00:51.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.028) 0:00:51.649 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.025) 0:00:51.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.022) 0:00:51.698 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.257) 0:00:51.955 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpf2ormnh2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.216) 0:00:52.171 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.248) 0:00:52.419 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.074) 0:00:52.494 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.025) 0:00:52.519 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:39 +0000 (0:00:00.039) 0:00:52.559 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.037) 0:00:52.596 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.135) 0:00:52.732 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.023) 0:00:52.755 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.042) 0:00:52.798 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.049) 0:00:52.848 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.030) 0:00:52.878 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.034) 0:00:52.912 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:40 +0000 (0:00:00.023) 0:00:52.936 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.786) 0:00:53.723 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.642) 0:00:54.366 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.039) 0:00:54.405 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.041) 0:00:54.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.025) 0:00:54.473 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.049) 0:00:54.522 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.021) 0:00:54.544 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:41 +0000 (0:00:00.022) 0:00:54.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.025) 0:00:54.592 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.022) 0:00:54.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.022) 0:00:54.637 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.225) 0:00:54.862 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmpd2nw5jk8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:42 +0000 (0:00:00.244) 0:00:55.106 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.481) 0:00:55.587 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.026) 0:00:55.614 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.025) 0:00:55.640 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.028) 0:00:55.668 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.021) 0:00:55.690 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.126) 0:00:55.816 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.043) 0:00:55.860 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.055) 0:00:55.915 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.040) 0:00:55.955 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.030) 0:00:55.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:43 +0000 (0:00:00.021) 0:00:56.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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.765) 0:00:56.773 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.633) 0:00:57.406 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.023) 0:00:57.430 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.021) 0:00:57.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.024) 0:00:57.476 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.054) 0:00:57.530 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:44 +0000 (0:00:00.024) 0:00:57.554 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.023) 0:00:57.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.049) 0:00:57.628 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.028) 0:00:57.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.022) 0:00:57.679 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.227) 0:00:57.907 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmp2th5js5b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.222) 0:00:58.129 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.237) 0:00:58.366 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.021) 0:00:58.388 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.024) 0:00:58.413 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.025) 0:00:58.438 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:45 +0000 (0:00:00.024) 0:00:58.463 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.128) 0:00:58.591 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.041) 0:00:58.632 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.034) 0:00:58.667 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.038) 0:00:58.706 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.026) 0:00:58.732 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.021) 0:00:58.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.051) 0:00:58.804 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:26:46 +0000 (0:00:00.740) 0:00:59.544 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.625) 0:01:00.170 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.022) 0:01:00.193 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.022) 0:01:00.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.021) 0:01:00.236 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.042) 0:01:00.278 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.020) 0:01:00.299 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.024) 0:01:00.323 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.024) 0:01:00.348 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.047) 0:01:00.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:26:47 +0000 (0:00:00.021) 0:01:00.417 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.231) 0:01:00.649 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17368clbqkdry/tmp61sr3men" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.299) 0:01:00.949 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.225) 0:01:01.174 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.039) 0:01:01.213 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.031) 0:01:01.245 ****** 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-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.029) 0:01:01.274 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.022) 0:01:01.297 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.150) 0:01:01.448 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:26:48 +0000 (0:00:00.067) 0:01:01.515 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.060) 0:01:01.576 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.042) 0:01:01.619 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.147) 0:01:01.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.074) 0:01:01.841 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021821", "end": "2024-02-06 17:26:49.446965", "rc": 1, "start": "2024-02-06 17:26:49.425144" } 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.206) 0:01:02.047 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.023) 0:01:02.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.037) 0:01:02.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.023) 0:01:02.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.022) 0:01:02.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.023) 0:01:02.177 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:26:49 +0000 (0:00:00.024) 0:01:02.202 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.400819", "end": "2024-02-06 17:26:50.138726", "rc": 0, "start": "2024-02-06 17:26:49.737907" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.555) 0:01:02.757 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.041) 0:01:02.799 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.028) 0:01:02.828 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.039) 0:01:02.867 ****** 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-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.032) 0:01:02.900 ****** included: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.049) 0:01:02.949 ****** 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.048417", "end": "2024-02-06 17:26:50.532707", "rc": 0, "start": "2024-02-06 17:26:50.484290" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Tuesday 06 February 2024 17:26:50 +0000 (0:00:00.167) 0:01:03.117 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.00s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.39s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.18s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.96s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.95s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.87s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-bond_options_rewritep2q7hl4s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---