# 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_rewrite3vke50zl/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_rewrite3vke50zl/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 21:11:54 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 21:12:00 +0000 (0:00:05.574) 0:00:05.586 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.022) 0:00:05.609 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:12:05 +0000 (0:00:05.265) 0:00:10.874 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:12:05 +0000 (0:00:00.191) 0:00:11.065 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:12:05 +0000 (0:00:00.020) 0:00:11.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:12:05 +0000 (0:00:00.017) 0:00:11.102 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:12:05 +0000 (0:00:00.033) 0:00:11.136 ****** 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_rewrite3vke50zl/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.188) 0:00:11.324 ****** 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_rewrite3vke50zl/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.451) 0:00:11.775 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.201541", "end": "2024-02-06 21:12:06.886463", "rc": 0, "start": "2024-02-06 21:12:06.684922" } 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_rewrite3vke50zl/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.326) 0:00:12.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.017) 0:00:12.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.009) 0:00:12.129 ****** 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 21:12:06 +0000 (0:00:00.009) 0:00:12.139 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.400) 0:00:12.539 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.010) 0:00:12.550 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.016) 0:00:12.567 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.010) 0:00:12.577 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.034) 0:00:12.612 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.015) 0:00:12.627 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.013) 0:00:12.641 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004657", "end": "2024-02-06 21:12:08.555037", "rc": 0, "start": "2024-02-06 21:12:07.550380" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:08 +0000 (0:00:01.127) 0:00:13.769 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.012) 0:00:13.781 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.010) 0:00:13.792 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.020) 0:00:13.813 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010961", "end": "2024-02-06 21:12:08.733374", "rc": 1, "start": "2024-02-06 21:12:08.722413" } 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_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.132) 0:00:13.945 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.015) 0:00:13.961 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.122) 0:00:14.083 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.013) 0:00:14.096 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.018) 0:00:14.115 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.032) 0:00:14.147 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.067) 0:00:14.215 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.012) 0:00:14.227 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.009) 0:00:14.237 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.009) 0:00:14.247 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.842) 0:00:15.089 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.781) 0:00:15.871 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.025) 0:00:15.896 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.024) 0:00:15.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.027) 0:00:15.948 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.043) 0:00:15.991 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.020) 0:00:16.012 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.021) 0:00:16.033 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.024) 0:00:16.058 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.020) 0:00:16.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.038) 0:00:16.117 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:11 +0000 (0:00:00.384) 0:00:16.501 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp7duwlsrs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:11 +0000 (0:00:00.239) 0:00:16.740 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:11 +0000 (0:00:00.406) 0:00:17.147 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:11 +0000 (0:00:00.020) 0:00:17.168 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:11 +0000 (0:00:00.022) 0:00:17.190 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.027) 0:00:17.217 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.021) 0:00:17.239 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.216) 0:00:17.455 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.022) 0:00:17.477 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.039) 0:00:17.516 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.037) 0:00:17.554 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.020) 0:00:17.575 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253931.92223, "block_size": 4096, "blocks": 8, "ctime": 1707253931.92223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707253931.92223, "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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.133) 0:00:17.708 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.035) 0:00:17.743 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.042770", "end": "2024-02-06 21:12:12.696379", "rc": 1, "start": "2024-02-06 21:12:12.653609" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.177) 0:00:17.920 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.022) 0:00:17.943 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003543", "end": "2024-02-06 21:12:12.859293", "rc": 0, "start": "2024-02-06 21:12:12.855750" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.147) 0:00:18.090 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:12 +0000 (0:00:00.028) 0:00:18.119 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003515", "end": "2024-02-06 21:12:13.034384", "rc": 0, "start": "2024-02-06 21:12:13.030869" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.142) 0:00:18.261 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.029) 0:00:18.291 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.034) 0:00:18.325 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.024) 0:00:18.349 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.055) 0:00:18.405 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.040) 0:00:18.445 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.037) 0:00:18.482 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.048) 0:00:18.530 ****** 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.047732", "end": "2024-02-06 21:12:13.496059", "rc": 1, "start": "2024-02-06 21:12:13.448327" } 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.190) 0:00:18.721 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.060) 0:00:18.782 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.031) 0:00:18.813 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.054) 0:00:18.868 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.035) 0:00:18.903 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.033) 0:00:18.937 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2024-02-06 21:12:13.849454", "rc": 0, "start": "2024-02-06 21:12:13.845907" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.136) 0:00:19.074 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.024) 0:00:19.098 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.030) 0:00:19.128 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.043) 0:00:19.171 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007615", "end": "2024-02-06 21:12:14.088999", "rc": 1, "start": "2024-02-06 21:12:14.081384" } 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_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.146) 0:00:19.318 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.066) 0:00:19.384 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.148) 0:00:19.533 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.023) 0:00:19.556 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.080) 0:00:19.637 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.038) 0:00:19.676 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.038) 0:00:19.714 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.026) 0:00:19.740 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.022) 0:00:19.763 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.038) 0:00:19.801 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:15 +0000 (0:00:00.779) 0:00:20.581 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.706) 0:00:21.287 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.042) 0:00:21.330 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.029) 0:00:21.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.033) 0:00:21.393 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.068) 0:00:21.461 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.027) 0:00:21.488 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.035) 0:00:21.524 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.041) 0:00:21.566 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.022) 0:00:21.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.024) 0:00:21.612 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.232) 0:00:21.845 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp74msma8f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:16 +0000 (0:00:00.205) 0:00:22.051 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.229) 0:00:22.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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.022) 0:00:22.304 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.022) 0:00:22.327 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.023) 0:00:22.350 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.050) 0:00:22.400 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.135) 0:00:22.536 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.023) 0:00:22.559 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.042) 0:00:22.602 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.034) 0:00:22.637 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.136) 0:00:22.774 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.033) 0:00:22.807 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.039) 0:00:22.846 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.023) 0:00:22.870 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253937.0562167, "block_size": 4096, "blocks": 8, "ctime": 1707253937.0562167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707253937.0562167, "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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.156) 0:00:23.027 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.025) 0:00:23.052 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022500", "end": "2024-02-06 21:12:17.984724", "rc": 1, "start": "2024-02-06 21:12:17.962224" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.154) 0:00:23.207 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.022) 0:00:23.229 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003534", "end": "2024-02-06 21:12:18.146758", "rc": 0, "start": "2024-02-06 21:12:18.143224" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.170) 0:00:23.400 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.027) 0:00:23.428 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003597", "end": "2024-02-06 21:12:18.343340", "rc": 0, "start": "2024-02-06 21:12:18.339743" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.143) 0:00:23.571 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.038) 0:00:23.609 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.035) 0:00:23.645 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.027) 0:00:23.672 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.023) 0:00:23.696 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.019) 0:00:23.715 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.022) 0:00:23.738 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.039) 0:00:23.778 ****** 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.043340", "end": "2024-02-06 21:12:18.732100", "rc": 1, "start": "2024-02-06 21:12:18.688760" } 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.176) 0:00:23.955 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.049) 0:00:24.004 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.024) 0:00:24.029 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.045) 0:00:24.074 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.033) 0:00:24.107 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.055) 0:00:24.163 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003578", "end": "2024-02-06 21:12:19.078496", "rc": 0, "start": "2024-02-06 21:12:19.074918" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.161) 0:00:24.325 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.038) 0:00:24.363 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.057) 0:00:24.421 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.060) 0:00:24.481 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.039) 0:00:24.520 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.070) 0:00:24.590 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.045) 0:00:24.636 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.040) 0:00:24.676 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.026) 0:00:24.703 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:20 +0000 (0:00:00.800) 0:00:25.503 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.724) 0:00:26.228 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.022) 0:00:26.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.025) 0:00:26.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.022) 0:00:26.298 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.089) 0:00:26.387 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.037) 0:00:26.425 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.026) 0:00:26.451 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.052) 0:00:26.504 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.043) 0:00:26.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.029) 0:00:26.576 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.227) 0:00:26.804 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp4o57463m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.229) 0:00:27.034 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.350) 0:00:27.385 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.022) 0:00:27.407 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.022) 0:00:27.430 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.023) 0:00:27.453 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.021) 0:00:27.474 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.127) 0:00:27.602 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.023) 0:00:27.626 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.041) 0:00:27.667 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.043) 0:00:27.711 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.046) 0:00:27.757 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.038) 0:00:27.796 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.021) 0:00:27.818 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.022) 0:00:27.840 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.772) 0:00:28.613 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.651) 0:00:29.264 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.021) 0:00:29.286 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.021) 0:00:29.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.020) 0:00:29.328 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.043) 0:00:29.372 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.020) 0:00:29.393 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.020) 0:00:29.414 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.024) 0:00:29.438 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.020) 0:00:29.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.022) 0:00:29.481 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.256) 0:00:29.738 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpvto9_ims" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:24 +0000 (0:00:00.214) 0:00:29.952 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.476) 0:00:30.429 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.028) 0:00:30.457 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.026) 0:00:30.483 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.037) 0:00:30.521 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.036) 0:00:30.558 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.147) 0:00:30.706 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.042) 0:00:30.748 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.034) 0:00:30.783 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253945.1341956, "block_size": 4096, "blocks": 0, "ctime": 1707253945.1311958, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17521, "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": 1707253945.1311958, "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_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.134) 0:00:30.918 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.024) 0:00:30.942 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.063) 0:00:31.006 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.023) 0:00:31.029 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253944.953196, "block_size": 4096, "blocks": 8, "ctime": 1707253942.1072035, "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": 1707253942.1072035, "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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.134) 0:00:31.163 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.035) 0:00:31.198 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022565", "end": "2024-02-06 21:12:26.131521", "rc": 1, "start": "2024-02-06 21:12:26.108956" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.156) 0:00:31.355 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.022) 0:00:31.377 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003530", "end": "2024-02-06 21:12:26.292607", "rc": 0, "start": "2024-02-06 21:12:26.289077" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.139) 0:00:31.517 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.029) 0:00:31.546 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003531", "end": "2024-02-06 21:12:26.464568", "rc": 0, "start": "2024-02-06 21:12:26.461037" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.144) 0:00:31.690 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.027) 0:00:31.718 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.026) 0:00:31.744 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.033) 0:00:31.778 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.026) 0:00:31.805 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.021) 0:00:31.826 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.023) 0:00:31.849 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.046) 0:00:31.896 ****** 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.054937", "end": "2024-02-06 21:12:26.865205", "rc": 0, "start": "2024-02-06 21:12:26.810268" } 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.195) 0:00:32.091 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.038) 0:00:32.130 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.031) 0:00:32.161 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.115) 0:00:32.276 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.066) 0:00:32.343 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.047) 0:00:32.391 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004748", "end": "2024-02-06 21:12:28.306405", "rc": 0, "start": "2024-02-06 21:12:27.301657" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:28 +0000 (0:00:01.144) 0:00:33.535 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.055) 0:00:33.590 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.055) 0:00:33.646 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.093) 0:00:33.739 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.108) 0:00:33.847 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.048) 0:00:33.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.049) 0:00:33.945 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.036) 0:00:33.981 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.033) 0:00:34.015 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:29 +0000 (0:00:00.788) 0:00:34.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.652) 0:00:35.456 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.027) 0:00:35.484 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.021) 0:00:35.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.021) 0:00:35.527 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.066) 0:00:35.594 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.021) 0:00:35.616 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.022) 0:00:35.639 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.024) 0:00:35.663 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.021) 0:00:35.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.025) 0:00:35.711 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.228) 0:00:35.940 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpl4hs2ztj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:30 +0000 (0:00:00.209) 0:00:36.149 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.234) 0:00:36.384 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.021) 0:00:36.406 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.023) 0:00:36.429 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.022) 0:00:36.451 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.023) 0:00:36.475 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.128) 0:00:36.604 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.021) 0:00:36.625 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.056) 0:00:36.682 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.039) 0:00:36.722 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.028) 0:00:36.751 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.021) 0:00:36.772 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:31 +0000 (0:00:00.022) 0:00:36.795 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:32 +0000 (0:00:00.784) 0:00:37.579 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.695) 0:00:38.275 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.032) 0:00:38.307 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.025) 0:00:38.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.023) 0:00:38.356 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.121) 0:00:38.478 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.025) 0:00:38.504 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.022) 0:00:38.526 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.031) 0:00:38.558 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.035) 0:00:38.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.024) 0:00:38.617 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.230) 0:00:38.847 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpotqd8c1y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:33 +0000 (0:00:00.209) 0:00:39.057 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.480) 0:00:39.538 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.020) 0:00:39.559 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.022) 0:00:39.581 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.021) 0:00:39.602 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.020) 0:00:39.623 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.140) 0:00:39.764 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.086) 0:00:39.851 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.048) 0:00:39.899 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.070) 0:00:39.969 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.031) 0:00:40.001 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.025) 0:00:40.026 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:34 +0000 (0:00:00.031) 0:00:40.058 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:35 +0000 (0:00:00.769) 0:00:40.828 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.654) 0:00:41.482 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.048) 0:00:41.530 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.022) 0:00:41.552 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.021) 0:00:41.574 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.044) 0:00:41.618 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.026) 0:00:41.645 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.027) 0:00:41.672 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.024) 0:00:41.697 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.021) 0:00:41.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.021) 0:00:41.740 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.227) 0:00:41.967 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp08hcebk3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:36 +0000 (0:00:00.202) 0:00:42.170 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.231) 0:00:42.402 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.021) 0:00:42.424 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.024) 0:00:42.448 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.024) 0:00:42.473 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.027) 0:00:42.500 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.162) 0:00:42.663 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.043) 0:00:42.706 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.037) 0:00:42.744 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253954.243172, "block_size": 4096, "blocks": 0, "ctime": 1707253954.242172, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17521, "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": 1707253954.242172, "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_rewrite3vke50zl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.151) 0:00:42.896 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.049) 0:00:42.945 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.046) 0:00:42.991 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.023) 0:00:43.015 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.138) 0:00:43.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:37 +0000 (0:00:00.021) 0:00:43.175 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022694", "end": "2024-02-06 21:12:38.108784", "rc": 1, "start": "2024-02-06 21:12:38.086090" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.174) 0:00:43.349 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.025) 0:00:43.375 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.027) 0:00:43.402 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.025) 0:00:43.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.022) 0:00:43.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.053) 0:00:43.503 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.026) 0:00:43.530 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.041) 0:00:43.571 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.029) 0:00:43.600 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.039) 0:00:43.640 ****** 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.049663", "end": "2024-02-06 21:12:38.600207", "rc": 0, "start": "2024-02-06 21:12:38.550544" } 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.188) 0:00:43.829 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.035) 0:00:43.865 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.021) 0:00:43.886 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.045) 0:00:43.932 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.038) 0:00:43.970 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.056) 0:00:44.026 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2024-02-06 21:12:38.940363", "rc": 0, "start": "2024-02-06 21:12:38.936786" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.138) 0:00:44.165 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:38 +0000 (0:00:00.023) 0:00:44.188 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.024) 0:00:44.213 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.101) 0:00:44.314 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.056) 0:00:44.371 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.067) 0:00:44.438 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.029) 0:00:44.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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.025) 0:00:44.493 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:39 +0000 (0:00:00.020) 0:00:44.513 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.768) 0:00:45.282 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.694) 0:00:45.976 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.024) 0:00:46.000 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.027) 0:00:46.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.022) 0:00:46.050 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.045) 0:00:46.095 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.025) 0:00:46.121 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.024) 0:00:46.145 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.026) 0:00:46.172 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:40 +0000 (0:00:00.024) 0:00:46.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.032) 0:00:46.229 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.243) 0:00:46.472 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp8wvxxtme" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.244) 0:00:46.717 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.234) 0:00:46.951 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.021) 0:00:46.973 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.023) 0:00:46.996 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.022) 0:00:47.019 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:41 +0000 (0:00:00.054) 0:00:47.073 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.138) 0:00:47.212 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.027) 0:00:47.240 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.065) 0:00:47.306 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.050) 0:00:47.356 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.026) 0:00:47.382 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.023) 0:00:47.406 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:42 +0000 (0:00:00.034) 0:00:47.440 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.770) 0:00:48.210 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.662) 0:00:48.872 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.024) 0:00:48.897 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.021) 0:00:48.918 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.022) 0:00:48.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.043) 0:00:48.984 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.023) 0:00:49.007 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.021) 0:00:49.029 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.025) 0:00:49.054 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.022) 0:00:49.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:43 +0000 (0:00:00.022) 0:00:49.099 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:44 +0000 (0:00:00.257) 0:00:49.357 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpxcbhcx15" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:44 +0000 (0:00:00.203) 0:00:49.560 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:44 +0000 (0:00:00.461) 0:00:50.022 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:44 +0000 (0:00:00.045) 0:00:50.067 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:44 +0000 (0:00:00.081) 0:00:50.149 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.085) 0:00:50.235 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.031) 0:00:50.266 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.149) 0:00:50.415 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.062) 0:00:50.478 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.048) 0:00:50.526 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.050) 0:00:50.576 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.032) 0:00:50.608 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:45 +0000 (0:00:00.025) 0:00:50.634 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.771) 0:00:51.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.641) 0:00:52.048 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.046) 0:00:52.094 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.022) 0:00:52.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.023) 0:00:52.140 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:46 +0000 (0:00:00.042) 0:00:52.183 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.021) 0:00:52.204 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.021) 0:00:52.225 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.024) 0:00:52.250 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.021) 0:00:52.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.023) 0:00:52.295 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.227) 0:00:52.522 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpspdd1jc5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.199) 0:00:52.722 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.222) 0:00:52.945 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.021) 0:00:52.966 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.024) 0:00:52.990 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.025) 0:00:53.016 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:47 +0000 (0:00:00.023) 0:00:53.039 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.169) 0:00:53.209 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.053) 0:00:53.263 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.042) 0:00:53.305 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.055) 0:00:53.361 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.026) 0:00:53.387 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.021) 0:00:53.408 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.021) 0:00:53.430 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:48 +0000 (0:00:00.749) 0:00:54.179 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.678) 0:00:54.858 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.036) 0:00:54.895 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.033) 0:00:54.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.033) 0:00:54.962 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.054) 0:00:55.017 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.042) 0:00:55.060 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.022) 0:00:55.083 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.035) 0:00:55.118 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.043) 0:00:55.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:49 +0000 (0:00:00.026) 0:00:55.188 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.231) 0:00:55.420 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpwu1oata3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.219) 0:00:55.640 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.228) 0:00:55.869 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.024) 0:00:55.893 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.038) 0:00:55.931 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.064) 0:00:55.996 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.023) 0:00:56.019 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.137) 0:00:56.157 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:12:50 +0000 (0:00:00.039) 0:00:56.196 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.035) 0:00:56.231 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.020) 0:00:56.252 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.130) 0:00:56.382 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.021) 0:00:56.404 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021696", "end": "2024-02-06 21:12:51.333003", "rc": 1, "start": "2024-02-06 21:12:51.311307" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.151) 0:00:56.556 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.023) 0:00:56.580 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.024) 0:00:56.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.025) 0:00:56.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.024) 0:00:56.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.022) 0:00:56.677 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.023) 0:00:56.700 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.059) 0:00:56.760 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.032) 0:00:56.793 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.050) 0:00:56.843 ****** 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.048572", "end": "2024-02-06 21:12:51.798225", "rc": 0, "start": "2024-02-06 21:12:51.749653" } 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_rewrite3vke50zl/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.192) 0:00:57.036 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.041) 0:00:57.078 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.052) 0:00:57.130 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:51 +0000 (0:00:00.061) 0:00:57.192 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:52 +0000 (0:00:00.076) 0:00:57.268 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:52 +0000 (0:00:00.046) 0:00:57.315 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004626", "end": "2024-02-06 21:12:53.267141", "rc": 0, "start": "2024-02-06 21:12:52.262515" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:53 +0000 (0:00:01.176) 0:00:58.491 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.043) 0:00:58.535 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.021) 0:00:58.557 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.046) 0:00:58.603 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.037) 0:00:58.641 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.039) 0:00:58.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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.028) 0:00:58.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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.021) 0:00:58.731 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:53 +0000 (0:00:00.022) 0:00:58.754 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:54 +0000 (0:00:00.738) 0:00:59.492 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:54 +0000 (0:00:00.670) 0:01:00.162 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:54 +0000 (0:00:00.022) 0:01:00.185 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.021) 0:01:00.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.020) 0:01:00.226 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.042) 0:01:00.269 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.022) 0:01:00.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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.022) 0:01:00.314 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.025) 0:01:00.340 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.021) 0:01:00.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.022) 0:01:00.383 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.226) 0:01:00.610 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpyf35lea0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.208) 0:01:00.819 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.221) 0:01:01.041 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.022) 0:01:01.064 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.050) 0:01:01.114 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.024) 0:01:01.139 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:55 +0000 (0:00:00.021) 0:01:01.160 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.130) 0:01:01.291 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.028) 0:01:01.319 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.035) 0:01:01.354 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.039) 0:01:01.394 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.028) 0:01:01.422 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.022) 0:01:01.444 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:56 +0000 (0:00:00.024) 0:01:01.468 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.743) 0:01:02.211 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.658) 0:01:02.870 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.022) 0:01:02.893 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.023) 0:01:02.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.022) 0:01:02.939 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.042) 0:01:02.982 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.022) 0:01:03.004 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.022) 0:01:03.027 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.024) 0:01:03.051 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.026) 0:01:03.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:57 +0000 (0:00:00.035) 0:01:03.113 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.233) 0:01:03.347 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp8ui5zy34" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.202) 0:01:03.549 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.541) 0:01:04.091 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.024) 0:01:04.115 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.031) 0:01:04.146 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.025) 0:01:04.172 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:58 +0000 (0:00:00.021) 0:01:04.193 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.150) 0:01:04.344 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.052) 0:01:04.396 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.059) 0:01:04.456 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.028) 0:01:04.485 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.024) 0:01:04.509 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:59 +0000 (0:00:00.036) 0:01:04.546 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.746) 0:01:05.292 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.676) 0:01:05.968 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.022) 0:01:05.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.022) 0:01:06.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.021) 0:01:06.035 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.044) 0:01:06.079 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.022) 0:01:06.102 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.021) 0:01:06.124 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.025) 0:01:06.150 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.021) 0:01:06.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:13:00 +0000 (0:00:00.021) 0:01:06.193 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.229) 0:01:06.422 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmpya58zg8d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.218) 0:01:06.641 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.263) 0:01:06.905 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.022) 0:01:06.927 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.022) 0:01:06.950 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.022) 0:01:06.972 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.020) 0:01:06.993 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.124) 0:01:07.118 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.039) 0:01:07.157 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:13:01 +0000 (0:00:00.035) 0:01:07.193 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:13:02 +0000 (0:00:00.040) 0:01:07.233 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:13:02 +0000 (0:00:00.031) 0:01:07.264 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:13:02 +0000 (0:00:00.024) 0:01:07.288 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:13:02 +0000 (0:00:00.021) 0:01:07.310 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:13:02 +0000 (0:00:00.747) 0:01:08.057 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.645) 0:01:08.702 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.031) 0:01:08.734 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.032) 0:01:08.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.028) 0:01:08.794 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.085) 0:01:08.880 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.027) 0:01:08.907 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.022) 0:01:08.930 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.034) 0:01:08.964 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.030) 0:01:08.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:13:03 +0000 (0:00:00.021) 0:01:09.016 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.232) 0:01:09.248 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17388svwuoh8r/tmp_ng044hx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.283) 0:01:09.532 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.232) 0:01:09.764 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.029) 0:01:09.794 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.027) 0:01:09.821 ****** 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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.037) 0:01:09.859 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.034) 0:01:09.894 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.137) 0:01:10.032 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.064) 0:01:10.096 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.036) 0:01:10.133 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:13:04 +0000 (0:00:00.020) 0:01:10.154 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.143) 0:01:10.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.036) 0:01:10.334 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021915", "end": "2024-02-06 21:13:05.281062", "rc": 1, "start": "2024-02-06 21:13:05.259147" } 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.177) 0:01:10.512 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.024) 0:01:10.536 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.023) 0:01:10.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.070) 0:01:10.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.028) 0:01:10.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.025) 0:01:10.684 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 21:13:05 +0000 (0:00:00.024) 0:01:10.708 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403162", "end": "2024-02-06 21:13:06.017235", "rc": 0, "start": "2024-02-06 21:13:05.614073" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.545) 0:01:11.254 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.038) 0:01:11.292 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.027) 0:01:11.319 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.026) 0:01:11.346 ****** 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_rewrite3vke50zl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.031) 0:01:11.378 ****** included: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:13:06 +0000 (0:00:00.059) 0:01:11.437 ****** 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.047054", "end": "2024-02-06 21:13:06.394194", "rc": 0, "start": "2024-02-06 21:13:06.347140" } 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 21:13:06 +0000 (0:00:00.168) 0:01:11.606 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 5.57s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tests_states_initscripts.yml:5 Gather the minimum subset of ansible_facts required by the network role test --- 5.27s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Configure networking connection profiles --- 1.96s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.31s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.13s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.98s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.83s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.78s /WORKDIR/git-bond_options_rewrite3vke50zl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite3vke50zl/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_rewrite3vke50zl/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_rewrite3vke50zl/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_rewrite3vke50zl/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. ---^---^---^---^---^---