# 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_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 22:22:24 +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_rewriteyxwlqfxm/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 22:22:24 +0000 (0:00:00.524) 0:00:00.535 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:22:24 +0000 (0:00:00.022) 0:00:00.558 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.232) 0:00:00.791 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.196) 0:00:00.987 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.021) 0:00:01.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.019) 0:00:01.027 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.033) 0:00:01.061 ****** 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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:22:25 +0000 (0:00:00.191) 0:00:01.252 ****** 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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.456) 0:00:01.708 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.200260", "end": "2024-02-06 22:22:26.457294", "rc": 0, "start": "2024-02-06 22:22:26.257034" } 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_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.324) 0:00:02.033 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.012) 0:00:02.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.009) 0:00:02.055 ****** 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.011) 0:00:02.067 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.398) 0:00:02.465 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.011) 0:00:02.476 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.016) 0:00:02.492 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.012) 0:00:02.504 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.035) 0:00:02.540 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.015) 0:00:02.555 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:27 +0000 (0:00:00.015) 0:00:02.571 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004868", "end": "2024-02-06 22:22:28.123780", "rc": 0, "start": "2024-02-06 22:22:27.118912" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:28 +0000 (0:00:01.129) 0:00:03.700 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.012) 0:00:03.713 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.010) 0:00:03.723 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.021) 0:00:03.745 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012195", "end": "2024-02-06 22:22:28.304091", "rc": 1, "start": "2024-02-06 22:22:28.291896" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.133) 0:00:03.878 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.015) 0:00:03.893 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.127) 0:00:04.021 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.013) 0:00:04.034 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.018) 0:00:04.053 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.033) 0:00:04.086 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.068) 0:00:04.154 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.012) 0:00:04.167 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.011) 0:00:04.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:28 +0000 (0:00:00.010) 0:00:04.189 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.819) 0:00:05.009 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.797) 0:00:05.807 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.049) 0:00:05.856 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.036) 0:00:05.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.025) 0:00:05.919 ****** changed: [sut] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:33 +0000 (0:00:02.967) 0:00:08.886 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.042) 0:00:08.929 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.020) 0:00:08.950 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.025) 0:00:08.975 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.021) 0:00:08.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.019) 0:00: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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:33 +0000 (0:00:00.355) 0:00:09.372 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpf_n_vpry" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.204) 0:00:09.576 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.354) 0:00:09.931 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.021) 0:00:09.953 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.022) 0:00:09.975 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.022) 0:00:09.997 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.020) 0:00:10.017 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.196) 0:00:10.214 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.022) 0:00:10.236 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.057) 0:00:10.294 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.036) 0:00:10.330 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.020) 0:00:10.351 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258154.3451393, "block_size": 4096, "blocks": 8, "ctime": 1707258154.3451393, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258154.3451393, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.134) 0:00:10.486 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:34 +0000 (0:00:00.023) 0:00:10.509 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023751", "end": "2024-02-06 22:22:35.078917", "rc": 1, "start": "2024-02-06 22:22:35.055166" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.153) 0:00:10.662 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.021) 0:00:10.684 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003692", "end": "2024-02-06 22:22:35.237870", "rc": 0, "start": "2024-02-06 22:22:35.234178" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.139) 0:00:10.824 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.027) 0:00:10.852 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003615", "end": "2024-02-06 22:22:35.405638", "rc": 0, "start": "2024-02-06 22:22:35.402023" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.139) 0:00:10.991 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.026) 0:00:11.017 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.024) 0:00:11.042 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.024) 0:00:11.066 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.023) 0:00:11.089 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.026) 0:00:11.116 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.050) 0:00:11.167 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.038) 0:00:11.205 ****** 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.046350", "end": "2024-02-06 22:22:35.798539", "rc": 1, "start": "2024-02-06 22:22:35.752189" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.177) 0:00:11.383 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.039) 0:00:11.422 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.034) 0:00:11.457 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.047) 0:00:11.505 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:35 +0000 (0:00:00.051) 0:00:11.556 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.038) 0:00:11.594 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2024-02-06 22:22:36.144903", "rc": 0, "start": "2024-02-06 22:22:36.141246" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.134) 0:00:11.729 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.021) 0:00:11.750 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.021) 0:00:11.772 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.039) 0:00:11.811 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007299", "end": "2024-02-06 22:22:36.365808", "rc": 1, "start": "2024-02-06 22:22:36.358509" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.159) 0:00:11.971 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.034) 0:00:12.005 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.130) 0:00:12.136 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.024) 0:00:12.160 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.038) 0:00:12.199 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.041) 0:00:12.240 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.040) 0:00:12.281 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.027) 0:00:12.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.021) 0:00:12.330 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:36 +0000 (0:00:00.020) 0:00:12.350 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:37 +0000 (0:00:00.775) 0:00:13.126 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.637) 0:00:13.764 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.021) 0:00:13.785 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.020) 0:00:13.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.020) 0:00:13.826 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.041) 0:00:13.867 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.020) 0:00:13.888 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.020) 0:00:13.908 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.024) 0:00:13.932 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.021) 0:00:13.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.022) 0:00:13.977 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.227) 0:00:14.204 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpgydthcd4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:38 +0000 (0:00:00.202) 0:00:14.407 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.221) 0:00:14.629 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.020) 0:00:14.650 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.021) 0:00:14.671 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.022) 0:00:14.693 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.020) 0:00:14.714 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.126) 0:00:14.840 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.023) 0:00:14.864 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.041) 0:00:14.906 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.033) 0:00:14.939 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.131) 0:00:15.071 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.023) 0:00:15.095 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.035) 0:00:15.130 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.045) 0:00:15.175 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258159.0430064, "block_size": 4096, "blocks": 8, "ctime": 1707258159.0430064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258159.0430064, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.132) 0:00:15.308 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.021) 0:00:15.330 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021577", "end": "2024-02-06 22:22:39.898120", "rc": 1, "start": "2024-02-06 22:22:39.876543" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.151) 0:00:15.481 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.022) 0:00:15.504 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003653", "end": "2024-02-06 22:22:40.058034", "rc": 0, "start": "2024-02-06 22:22:40.054381" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.139) 0:00:15.644 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.026) 0:00:15.670 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003354", "end": "2024-02-06 22:22:40.221545", "rc": 0, "start": "2024-02-06 22:22:40.218191" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.136) 0:00:15.807 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.030) 0:00:15.838 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.026) 0:00:15.864 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.024) 0:00:15.888 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.022) 0:00:15.911 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.020) 0:00:15.931 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.022) 0:00:15.954 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.038) 0:00:15.992 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042550", "end": "2024-02-06 22:22:40.581245", "rc": 1, "start": "2024-02-06 22:22:40.538695" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.197) 0:00:16.190 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.035) 0:00:16.225 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.022) 0:00:16.247 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.043) 0:00:16.291 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.033) 0:00:16.325 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.033) 0:00:16.358 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003696", "end": "2024-02-06 22:22:40.909396", "rc": 0, "start": "2024-02-06 22:22:40.905700" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.137) 0:00:16.495 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.022) 0:00:16.518 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.023) 0:00:16.542 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.037) 0:00:16.579 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.036) 0:00:16.616 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.048) 0:00:16.664 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.052) 0:00:16.717 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.020) 0:00:16.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.021) 0:00:16.759 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:41 +0000 (0:00:00.757) 0:00:17.517 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.642) 0:00:18.159 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.022) 0:00:18.181 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.021) 0:00:18.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.020) 0:00:18.223 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.044) 0:00:18.267 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.030) 0:00:18.297 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.046) 0:00:18.344 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.024) 0:00:18.368 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.026) 0:00:18.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:42 +0000 (0:00:00.022) 0:00:18.417 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.230) 0:00:18.648 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmp5r_snzb4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.211) 0:00:18.860 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.226) 0:00:19.087 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.025) 0:00:19.112 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.028) 0:00:19.140 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.027) 0:00:19.167 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.025) 0:00:19.193 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.128) 0:00:19.321 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.028) 0:00:19.350 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.038) 0:00:19.388 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.063) 0:00:19.452 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.039) 0:00:19.491 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.026) 0:00:19.517 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.020) 0:00:19.538 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.021) 0:00:19.559 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:44 +0000 (0:00:00.741) 0:00:20.301 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.635) 0:00:20.936 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.029) 0:00:20.965 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:20.989 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.045) 0:00:21.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.043) 0:00:21.078 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.020) 0:00:21.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.020) 0:00:21.119 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.023) 0:00:21.143 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.020) 0:00:21.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.020) 0:00:21.184 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:45 +0000 (0:00:00.224) 0:00:21.408 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpy7f_h1pl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.211) 0:00:21.620 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.471) 0:00:22.092 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.020) 0:00:22.113 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.022) 0:00:22.135 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.021) 0:00:22.157 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.023) 0:00:22.181 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.151) 0:00:22.333 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.042) 0:00:22.375 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.034) 0:00:22.410 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258166.4337976, "block_size": 4096, "blocks": 0, "ctime": 1707258166.4327977, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17455, "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": 1707258166.4327977, "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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:46 +0000 (0:00:00.132) 0:00:22.543 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.024) 0:00:22.567 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.038) 0:00:22.605 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.020) 0:00:22.626 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258166.2578027, "block_size": 4096, "blocks": 8, "ctime": 1707258163.4978807, "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": 1707258163.4978807, "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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.130) 0:00:22.756 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.021) 0:00:22.778 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023856", "end": "2024-02-06 22:22:47.347657", "rc": 1, "start": "2024-02-06 22:22:47.323801" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.154) 0:00:22.933 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.022) 0:00:22.955 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003757", "end": "2024-02-06 22:22:47.510582", "rc": 0, "start": "2024-02-06 22:22:47.506825" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.141) 0:00:23.097 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.027) 0:00:23.124 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003526", "end": "2024-02-06 22:22:47.675607", "rc": 0, "start": "2024-02-06 22:22:47.672081" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.167) 0:00:23.291 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.030) 0:00:23.322 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.026) 0:00:23.348 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.025) 0:00:23.374 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.024) 0:00:23.398 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.023) 0:00:23.422 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.023) 0:00:23.445 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:47 +0000 (0:00:00.039) 0:00:23.485 ****** 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.050818", "end": "2024-02-06 22:22:48.082400", "rc": 0, "start": "2024-02-06 22:22:48.031582" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.204) 0:00:23.690 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.036) 0:00:23.726 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.021) 0:00:23.748 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.047) 0:00:23.795 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.038) 0:00:23.834 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:48 +0000 (0:00:00.033) 0:00:23.868 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005038", "end": "2024-02-06 22:22:49.421435", "rc": 0, "start": "2024-02-06 22:22:48.416397" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:49 +0000 (0:00:01.139) 0:00:25.008 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.021) 0:00:25.030 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.022) 0:00:25.052 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.040) 0:00:25.092 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.035) 0:00:25.128 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.044) 0:00:25.173 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.032) 0:00:25.205 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.024) 0:00:25.230 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:49 +0000 (0:00:00.024) 0:00:25.254 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:50 +0000 (0:00:00.748) 0:00:26.002 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.679) 0:00:26.682 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.023) 0:00:26.706 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.021) 0:00:26.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.020) 0:00:26.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.043) 0:00:26.792 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.020) 0:00:26.813 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.020) 0:00:26.833 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.024) 0:00:26.858 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.020) 0:00:26.878 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.026) 0:00:26.905 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.251) 0:00:27.156 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpbh0qbzpa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:51 +0000 (0:00:00.203) 0:00:27.360 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.222) 0:00:27.583 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.021) 0:00:27.604 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.021) 0:00:27.626 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.022) 0:00:27.649 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.020) 0:00:27.670 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.125) 0:00:27.795 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.022) 0:00:27.817 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.034) 0:00:27.852 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.038) 0:00:27.890 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.026) 0:00:27.917 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.020) 0:00:27.937 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:52 +0000 (0:00:00.020) 0:00:27.958 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.766) 0:00:28.724 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.645) 0:00:29.370 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.028) 0:00:29.398 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.025) 0:00:29.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.023) 0:00:29.448 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.050) 0:00:29.498 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.023) 0:00:29.522 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:53 +0000 (0:00:00.022) 0:00:29.545 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.024) 0:00:29.570 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.021) 0:00:29.591 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.022) 0:00:29.614 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.253) 0:00:29.867 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpwivwb18y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.204) 0:00:30.072 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.463) 0:00:30.536 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:54 +0000 (0:00:00.022) 0:00:30.558 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.022) 0:00:30.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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.021) 0:00:30.603 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.020) 0:00:30.624 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.125) 0:00:30.750 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.038) 0:00:30.788 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.038) 0:00:30.827 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.039) 0:00:30.866 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.084) 0:00:30.951 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.024) 0:00:30.976 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:55 +0000 (0:00:00.027) 0:00:31.003 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.747) 0:00:31.751 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.642) 0:00:32.393 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.022) 0:00:32.416 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.022) 0:00:32.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.022) 0:00:32.461 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.045) 0:00:32.507 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:56 +0000 (0:00:00.028) 0:00:32.536 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.055) 0:00:32.591 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.040) 0:00:32.632 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.022) 0:00:32.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.033) 0:00:32.688 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.231) 0:00:32.920 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpn1cilg5m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.210) 0:00:33.131 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.229) 0:00:33.360 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.021) 0:00:33.381 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.022) 0:00:33.404 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.022) 0:00:33.426 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:57 +0000 (0:00:00.020) 0:00:33.447 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.126) 0:00:33.573 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.042) 0:00:33.616 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.033) 0:00:33.650 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258174.881559, "block_size": 4096, "blocks": 0, "ctime": 1707258174.880559, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17455, "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": 1707258174.880559, "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_rewriteyxwlqfxm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.135) 0:00:33.786 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.032) 0:00:33.818 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.036) 0:00:33.854 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.023) 0:00:33.878 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.130) 0:00:34.009 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.020) 0:00:34.030 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023099", "end": "2024-02-06 22:22:58.598515", "rc": 1, "start": "2024-02-06 22:22:58.575416" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.153) 0:00:34.184 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.021) 0:00:34.205 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.023) 0:00:34.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.022) 0:00:34.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.021) 0:00:34.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.021) 0:00:34.294 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.022) 0:00:34.316 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.019) 0:00:34.335 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.022) 0:00:34.357 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:22:58 +0000 (0:00:00.064) 0:00:34.421 ****** 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.052096", "end": "2024-02-06 22:22:59.022122", "rc": 0, "start": "2024-02-06 22:22:58.970026" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.186) 0:00:34.608 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.036) 0:00:34.645 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.024) 0:00:34.669 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.047) 0:00:34.716 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.033) 0:00:34.750 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.032) 0:00:34.782 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003735", "end": "2024-02-06 22:22:59.334829", "rc": 0, "start": "2024-02-06 22:22:59.331094" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.136) 0:00:34.919 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.022) 0:00:34.941 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.022) 0:00:34.963 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.042) 0:00:35.005 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.033) 0:00:35.039 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.062) 0:00:35.101 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.027) 0:00:35.128 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.021) 0:00:35.149 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:59 +0000 (0:00:00.020) 0:00:35.170 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.743) 0:00:35.913 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:00 +0000 (0:00:00.640) 0:00:36.554 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.022) 0:00:36.576 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.021) 0:00:36.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.020) 0:00:36.618 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.066) 0:00:36.684 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.020) 0:00:36.705 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.021) 0:00:36.726 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.023) 0:00:36.750 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.022) 0:00:36.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.021) 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.233) 0:00:37.028 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpekp1rrq2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.239) 0:00:37.268 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.227) 0:00:37.495 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.020) 0:00:37.516 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:01 +0000 (0:00:00.022) 0:00:37.539 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.022) 0:00:37.561 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.020) 0:00:37.581 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.129) 0:00:37.711 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.023) 0:00:37.735 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.064) 0:00:37.800 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.042) 0:00:37.842 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.038) 0:00:37.880 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.024) 0:00:37.904 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:02 +0000 (0:00:00.023) 0:00:37.928 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.752) 0:00:38.680 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.650) 0:00:39.330 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.022) 0:00:39.353 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.020) 0:00:39.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.043) 0:00:39.417 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.043) 0:00:39.460 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:39.482 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:39.503 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.026) 0:00:39.529 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:03 +0000 (0:00:00.021) 0:00:39.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.020) 0:00:39.572 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.224) 0:00:39.796 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmp7cxisvbf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.204) 0:00:40.001 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.465) 0:00:40.466 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.022) 0:00:40.488 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.023) 0:00:40.512 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.024) 0:00:40.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:04 +0000 (0:00:00.022) 0:00:40.558 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.127) 0:00:40.685 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.060) 0:00:40.746 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.038) 0:00:40.785 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.025) 0:00:40.810 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:40.831 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:05 +0000 (0:00:00.021) 0:00:40.852 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.746) 0:00:41.599 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.637) 0:00:42.237 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:42.258 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.042) 0:00:42.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.022) 0:00:42.323 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.044) 0:00:42.367 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.023) 0:00:42.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:42.413 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.024) 0:00:42.437 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.020) 0:00:42.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:06 +0000 (0:00:00.021) 0:00:42.479 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.226) 0:00:42.706 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpfl27bkkw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.224) 0:00:42.930 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.245) 0:00:43.176 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.023) 0:00:43.199 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.022) 0:00:43.221 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.022) 0:00:43.243 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.020) 0:00:43.264 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.127) 0:00:43.392 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.063) 0:00:43.455 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.039) 0:00:43.495 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.038) 0:00:43.533 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:07 +0000 (0:00:00.025) 0:00:43.559 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:08 +0000 (0:00:00.021) 0:00:43.580 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:08 +0000 (0:00:00.021) 0:00:43.601 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:08 +0000 (0:00:00.744) 0:00:44.346 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.675) 0:00:45.021 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.037) 0:00:45.059 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.028) 0:00:45.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.030) 0:00:45.118 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.046) 0:00:45.165 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.033) 0:00:45.198 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.029) 0:00:45.228 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.025) 0:00:45.254 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.021) 0:00:45.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.020) 0:00:45.296 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:09 +0000 (0:00:00.232) 0:00:45.528 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmppm1ryzcy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.207) 0:00:45.736 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.221) 0:00:45.957 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.020) 0:00:45.978 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.021) 0:00:46.000 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.021) 0:00:46.022 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.047) 0:00:46.069 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.129) 0:00:46.199 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.039) 0:00:46.238 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.036) 0:00:46.275 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.022) 0:00:46.298 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.133) 0:00:46.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:23:10 +0000 (0:00:00.020) 0:00:46.451 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022271", "end": "2024-02-06 22:23:11.018914", "rc": 1, "start": "2024-02-06 22:23:10.996643" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.152) 0:00:46.604 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.024) 0:00:46.628 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.021) 0:00:46.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.023) 0:00:46.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.022) 0:00:46.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.029) 0:00:46.726 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.023) 0:00:46.750 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.025) 0:00:46.775 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.048) 0:00:46.823 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.038) 0:00:46.862 ****** 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.048019", "end": "2024-02-06 22:23:11.456125", "rc": 0, "start": "2024-02-06 22:23:11.408106" } 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_rewriteyxwlqfxm/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.180) 0:00:47.042 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.036) 0:00:47.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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.025) 0:00:47.104 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.047) 0:00:47.151 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.035) 0:00:47.187 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.032) 0:00:47.220 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-02-06 22:23:11.770513", "rc": 0, "start": "2024-02-06 22:23:11.766909" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.160) 0:00:47.381 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.048) 0:00:47.430 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.032) 0:00:47.462 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:23:11 +0000 (0:00:00.043) 0:00:47.506 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.065) 0:00:47.572 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.040) 0:00:47.612 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.028) 0:00:47.640 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.022) 0:00:47.663 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.020) 0:00:47.684 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:12 +0000 (0:00:00.741) 0:00:48.425 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.638) 0:00:49.064 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.022) 0:00:49.087 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.043) 0:00:49.130 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.020) 0:00:49.151 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.043) 0:00:49.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.020) 0:00:49.215 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.023) 0:00:49.238 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.027) 0:00:49.265 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.023) 0:00:49.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.025) 0:00:49.314 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:13 +0000 (0:00:00.225) 0:00:49.540 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpdpa4u7vn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.204) 0:00:49.745 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.255) 0:00:50.000 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.031) 0:00:50.032 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.041) 0:00:50.073 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.025) 0:00:50.098 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.044) 0:00:50.142 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.127) 0:00:50.270 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.021) 0:00:50.292 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.064) 0:00:50.356 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.040) 0:00:50.396 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.028) 0:00:50.424 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.026) 0:00:50.451 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:14 +0000 (0:00:00.027) 0:00:50.479 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:15 +0000 (0:00:00.749) 0:00:51.228 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.637) 0:00:51.866 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.046) 0:00:51.912 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.020) 0:00:51.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.021) 0:00:51.955 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.043) 0:00:51.998 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.021) 0:00:52.019 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.020) 0:00:52.040 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.023) 0:00:52.064 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.021) 0:00:52.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.021) 0:00:52.106 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.224) 0:00:52.330 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmph_6bq108" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:16 +0000 (0:00:00.202) 0:00:52.533 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.464) 0:00:52.997 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:53.019 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.023) 0:00:53.042 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.025) 0:00:53.068 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:53.090 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.126) 0:00:53.217 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.034) 0:00:53.252 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.038) 0:00:53.290 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.025) 0:00:53.316 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.021) 0:00:53.337 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:17 +0000 (0:00:00.022) 0:00:53.359 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:18 +0000 (0:00:00.739) 0:00:54.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.667) 0:00:54.767 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.048) 0:00:54.815 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.043) 0:00:54.858 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.024) 0:00:54.883 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.043) 0:00:54.927 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.024) 0:00:54.951 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.023) 0:00:54.974 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.029) 0:00:55.004 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.033) 0:00:55.037 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.024) 0:00:55.061 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.226) 0:00:55.288 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpxf_twsxe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:19 +0000 (0:00:00.203) 0:00:55.492 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.234) 0:00:55.726 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.020) 0:00:55.747 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.021) 0:00:55.769 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.021) 0:00:55.790 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.051) 0:00:55.841 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.128) 0:00:55.970 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.040) 0:00:56.010 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.034) 0:00:56.045 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.040) 0:00:56.085 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.028) 0:00:56.113 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.021) 0:00:56.135 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:23:20 +0000 (0:00:00.021) 0:00:56.157 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:23:21 +0000 (0:00:00.738) 0:00:56.895 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.692) 0:00:57.588 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.023) 0:00:57.611 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.021) 0:00:57.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.020) 0:00:57.653 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.042) 0:00:57.696 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.021) 0:00:57.717 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.021) 0:00:57.739 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.024) 0:00:57.763 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.021) 0:00:57.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.022) 0:00:57.807 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.223) 0:00:58.031 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17482u0x28tn2/tmpnxfqa_ys" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.205) 0:00:58.236 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.220) 0:00:58.457 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.021) 0:00:58.478 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.052) 0:00:58.530 ****** 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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:23:22 +0000 (0:00:00.023) 0:00:58.554 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.024) 0:00:58.578 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.124) 0:00:58.703 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.042) 0:00:58.745 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.036) 0:00:58.781 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.021) 0:00:58.803 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.131) 0:00:58.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.023) 0:00:58.958 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022663", "end": "2024-02-06 22:23:23.532339", "rc": 1, "start": "2024-02-06 22:23:23.509676" } 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.159) 0:00:59.117 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.028) 0:00:59.146 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.023) 0:00:59.169 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.026) 0:00:59.196 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.023) 0:00:59.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.021) 0:00:59.242 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:23:23 +0000 (0:00:00.049) 0:00:59.291 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.411523", "end": "2024-02-06 22:23:24.249511", "rc": 0, "start": "2024-02-06 22:23:23.837988" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.544) 0:00:59.836 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.022) 0:00:59.858 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.022) 0:00:59.881 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.023) 0:00:59.905 ****** 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_rewriteyxwlqfxm/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.023) 0:00:59.928 ****** included: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.040) 0:00:59.968 ****** 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.051089", "end": "2024-02-06 22:23:24.567141", "rc": 0, "start": "2024-02-06 22:23:24.516052" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Tuesday 06 February 2024 22:23:24 +0000 (0:00:00.171) 0:01:00.140 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 3.16s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.30s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.06s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.82s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-bond_options_rewriteyxwlqfxm/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_rewriteyxwlqfxm/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_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewriteyxwlqfxm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewriteyxwlqfxm/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. ---^---^---^---^---^---