# 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_rewrite_cbveasl/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_rewrite_cbveasl/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 17:19:48 +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_rewrite_cbveasl/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.713) 0:00:00.725 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.056) 0:00:00.782 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.259) 0:00:01.042 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.254) 0:00:01.296 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.022) 0:00:01.318 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.024) 0:00:01.343 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:19:49 +0000 (0:00:00.054) 0:00:01.398 **** 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_rewrite_cbveasl/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.255) 0:00:01.653 **** 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_rewrite_cbveasl/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.508) 0:00:02.162 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.208765", "end": "2024-02-14 17:19:50.903299", "rc": 0, "start": "2024-02-14 17:19:50.694534" } 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_rewrite_cbveasl/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.348) 0:00:02.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.015) 0:00:02.526 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.011) 0:00:02.538 **** 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:19:50 +0000 (0:00:00.012) 0:00:02.551 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.462) 0:00:03.013 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.044) 0:00:03.058 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.036) 0:00:03.094 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.024) 0:00:03.119 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.075) 0:00:03.194 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.037) 0:00:03.232 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.082) 0:00:03.314 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003882", "end": "2024-02-14 17:19:51.906753", "rc": 0, "start": "2024-02-14 17:19:51.902871" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.198) 0:00:03.513 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.041) 0:00:03.554 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:19:51 +0000 (0:00:00.027) 0:00:03.582 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.075) 0:00:03.657 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012084", "end": "2024-02-14 17:19:52.221272", "rc": 1, "start": "2024-02-14 17:19:52.209188" } 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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.173) 0:00:03.831 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.031) 0:00:03.863 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.148) 0:00:04.011 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.015) 0:00:04.026 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.025) 0:00:04.052 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.038) 0:00:04.090 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.070) 0:00:04.161 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.013) 0:00:04.175 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.021) 0:00:04.197 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.012) 0:00:04.210 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.925) 0:00:05.136 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.846) 0:00:05.982 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.022) 0:00:06.005 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.022) 0:00:06.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.022) 0:00:06.050 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:19:56 +0000 (0:00:02.413) 0:00:08.463 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:19:56 +0000 (0:00:00.060) 0:00:08.524 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:19:56 +0000 (0:00:00.023) 0:00:08.547 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.042) 0:00:08.590 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.037) 0:00:08.627 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.031) 0:00:08.659 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.428) 0:00:09.087 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp5y769mm2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.296) 0:00:09.384 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.508) 0:00:09.892 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.064) 0:00:09.956 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.038) 0:00:09.995 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.027) 0:00:10.023 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.027) 0:00:10.050 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.307) 0:00:10.357 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.042) 0:00:10.400 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.109) 0:00:10.509 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.102) 0:00:10.612 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.080) 0:00:10.692 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931198.2440794, "block_size": 4096, "blocks": 8, "ctime": 1707931198.2440794, "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": 1707931198.2440794, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.146) 0:00:10.839 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.026) 0:00:10.865 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026376", "end": "2024-02-14 17:19:59.423241", "rc": 1, "start": "2024-02-14 17:19:59.396865" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.167) 0:00:11.033 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.059) 0:00:11.092 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003822", "end": "2024-02-14 17:19:59.626323", "rc": 0, "start": "2024-02-14 17:19:59.622501" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.147) 0:00:11.240 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.026) 0:00:11.267 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003839", "end": "2024-02-14 17:19:59.802679", "rc": 0, "start": "2024-02-14 17:19:59.798840" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.183) 0:00:11.450 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.071) 0:00:11.521 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.060) 0:00:11.582 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.067) 0:00:11.649 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.031) 0:00:11.681 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.041) 0:00:11.722 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.043) 0:00:11.766 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.071) 0:00:11.838 **** 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.049415", "end": "2024-02-14 17:20:00.417258", "rc": 1, "start": "2024-02-14 17:20:00.367843" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.191) 0:00:12.030 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.042) 0:00:12.072 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.051) 0:00:12.123 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.051) 0:00:12.175 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.099) 0:00:12.274 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.060) 0:00:12.334 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004165", "end": "2024-02-14 17:20:00.875121", "rc": 0, "start": "2024-02-14 17:20:00.870956" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.166) 0:00:12.501 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.035) 0:00:12.536 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.032) 0:00:12.569 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.051) 0:00:12.620 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007789", "end": "2024-02-14 17:20:01.160563", "rc": 1, "start": "2024-02-14 17:20:01.152774" } 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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.166) 0:00:12.787 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.038) 0:00:12.825 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.184) 0:00:13.010 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.048) 0:00:13.059 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.041) 0:00:13.101 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.105) 0:00:13.206 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.070) 0:00:13.277 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.029) 0:00:13.306 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.037) 0:00:13.344 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.061) 0:00:13.406 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.821) 0:00:14.227 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.686) 0:00:14.913 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.025) 0:00:14.939 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.025) 0:00:14.964 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.031) 0:00:14.996 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.091) 0:00:15.088 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.024) 0:00:15.113 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.026) 0:00:15.139 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.028) 0:00:15.167 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.024) 0:00:15.191 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.023) 0:00:15.215 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.243) 0:00:15.459 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp1nskdre_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.220) 0:00:15.679 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.237) 0:00:15.917 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.028) 0:00:15.945 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.029) 0:00:15.974 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.035) 0:00:16.010 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.031) 0:00:16.042 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.144) 0:00:16.186 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.027) 0:00:16.214 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.046) 0:00:16.261 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.073) 0:00:16.334 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.144) 0:00:16.479 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.026) 0:00:16.505 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.050) 0:00:16.556 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.067) 0:00:16.624 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931204.29913, "block_size": 4096, "blocks": 8, "ctime": 1707931204.29913, "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": 1707931204.29913, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.186) 0:00:16.810 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.039) 0:00:16.849 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023678", "end": "2024-02-14 17:20:05.419562", "rc": 1, "start": "2024-02-14 17:20:05.395884" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.195) 0:00:17.044 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.040) 0:00:17.085 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003834", "end": "2024-02-14 17:20:05.628111", "rc": 0, "start": "2024-02-14 17:20:05.624277" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.154) 0:00:17.240 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.028) 0:00:17.269 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003815", "end": "2024-02-14 17:20:05.803842", "rc": 0, "start": "2024-02-14 17:20:05.800027" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.147) 0:00:17.416 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.039) 0:00:17.456 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.036) 0:00:17.492 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.025) 0:00:17.518 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.075) 0:00:17.593 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.026) 0:00:17.619 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.037) 0:00:17.656 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.045) 0:00:17.702 **** 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.044112", "end": "2024-02-14 17:20:06.278163", "rc": 1, "start": "2024-02-14 17:20:06.234051" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.185) 0:00:17.887 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.040) 0:00:17.928 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.023) 0:00:17.951 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.049) 0:00:18.001 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.048) 0:00:18.049 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.048) 0:00:18.097 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-02-14 17:20:06.666152", "rc": 0, "start": "2024-02-14 17:20:06.662352" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.189) 0:00:18.287 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.024) 0:00:18.311 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.029) 0:00:18.340 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.093) 0:00:18.433 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.046) 0:00:18.480 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.055) 0:00:18.535 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.031) 0:00:18.566 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.040) 0:00:18.607 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.034) 0:00:18.641 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.820) 0:00:19.462 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.690) 0:00:20.152 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.028) 0:00:20.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.078) 0:00:20.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.052) 0:00:20.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.061) 0:00:20.374 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.036) 0:00:20.410 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.049) 0:00:20.460 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.041) 0:00:20.501 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.045) 0:00:20.546 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.045) 0:00:20.592 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.287) 0:00:20.880 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp7pl3pzv2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.218) 0:00:21.098 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.259) 0:00:21.358 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.025) 0:00:21.383 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.029) 0:00:21.413 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.024) 0:00:21.438 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.023) 0:00:21.461 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.186) 0:00:21.648 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.092) 0:00:21.740 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.046) 0:00:21.786 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.053) 0:00:21.839 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.047) 0:00:21.886 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.030) 0:00:21.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.029) 0:00:21.946 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.039) 0:00:21.985 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.801) 0:00:22.787 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.758) 0:00:23.546 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.028) 0:00:23.574 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.040) 0:00:23.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.024) 0:00:23.640 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.047) 0:00:23.687 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.024) 0:00:23.712 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.023) 0:00:23.735 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.027) 0:00:23.762 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.023) 0:00:23.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.022) 0:00:23.809 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.242) 0:00:24.052 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp26h6jnon" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.228) 0:00:24.280 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.494) 0:00:24.775 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.025) 0:00:24.800 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.025) 0:00:24.825 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.072) 0:00:24.898 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.023) 0:00:24.921 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.157) 0:00:25.078 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.073) 0:00:25.152 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.039) 0:00:25.191 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931213.0851908, "block_size": 4096, "blocks": 0, "ctime": 1707931213.0821908, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1707931213.0821908, "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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.152) 0:00:25.343 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.031) 0:00:25.374 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.039) 0:00:25.414 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.023) 0:00:25.438 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931212.9041898, "block_size": 4096, "blocks": 8, "ctime": 1707931209.7221708, "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": 1707931209.7221708, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.179) 0:00:25.618 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.026) 0:00:25.644 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023837", "end": "2024-02-14 17:20:14.271111", "rc": 1, "start": "2024-02-14 17:20:14.247274" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.260) 0:00:25.904 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.026) 0:00:25.931 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003721", "end": "2024-02-14 17:20:14.469291", "rc": 0, "start": "2024-02-14 17:20:14.465570" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.171) 0:00:26.103 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.077) 0:00:26.180 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003781", "end": "2024-02-14 17:20:14.715057", "rc": 0, "start": "2024-02-14 17:20:14.711276" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.187) 0:00:26.368 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.039) 0:00:26.407 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.032) 0:00:26.440 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.036) 0:00:26.477 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.049) 0:00:26.527 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.029) 0:00:26.556 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.024) 0:00:26.581 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.053) 0:00:26.634 **** 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.051041", "end": "2024-02-14 17:20:15.219343", "rc": 0, "start": "2024-02-14 17:20:15.168302" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.199) 0:00:26.833 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.041) 0:00:26.874 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.026) 0:00:26.901 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.062) 0:00:26.964 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.044) 0:00:27.008 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.117) 0:00:27.126 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-02-14 17:20:15.666490", "rc": 0, "start": "2024-02-14 17:20:15.662741" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.159) 0:00:27.286 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.026) 0:00:27.313 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.030) 0:00:27.343 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.069) 0:00:27.412 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.071) 0:00:27.484 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.046) 0:00:27.530 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.029) 0:00:27.560 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.025) 0:00:27.585 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.025) 0:00:27.611 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.822) 0:00:28.433 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.700) 0:00:29.134 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.033) 0:00:29.167 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.036) 0:00:29.203 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.043) 0:00:29.246 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.061) 0:00:29.308 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.028) 0:00:29.336 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.025) 0:00:29.362 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.027) 0:00:29.390 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.024) 0:00:29.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.023) 0:00:29.438 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.232) 0:00:29.670 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp99d0kn4w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.245) 0:00:29.916 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.381) 0:00:30.297 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.034) 0:00:30.332 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.028) 0:00:30.360 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.032) 0:00:30.392 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.029) 0:00:30.422 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.137) 0:00:30.559 **** 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_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.037) 0:00:30.597 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.045) 0:00:30.642 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.054) 0:00:30.696 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.056) 0:00:30.753 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.026) 0:00:30.780 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.038) 0:00:30.819 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.784) 0:00:31.603 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.773) 0:00:32.376 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.033) 0:00:32.410 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.061) 0:00:32.471 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.048) 0:00:32.520 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.059) 0:00:32.580 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.028) 0:00:32.608 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.032) 0:00:32.641 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.030) 0:00:32.671 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.055) 0:00:32.727 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.042) 0:00:32.770 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.256) 0:00:33.027 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmptsa8xsjt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.256) 0:00:33.283 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.496) 0:00:33.780 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.026) 0:00:33.806 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.089) 0:00:33.896 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.057) 0:00:33.953 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.059) 0:00:34.013 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.218) 0:00:34.231 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.098) 0:00:34.330 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.082) 0:00:34.412 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.065) 0:00:34.478 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.035) 0:00:34.514 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.021) 0:00:34.535 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.022) 0:00:34.558 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.781) 0:00:35.339 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.791) 0:00:36.131 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.051) 0:00:36.182 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.070) 0:00:36.252 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.038) 0:00:36.290 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.051) 0:00:36.342 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.027) 0:00:36.370 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.045) 0:00:36.415 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.043) 0:00:36.459 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.067) 0:00:36.526 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.062) 0:00:36.589 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.287) 0:00:36.877 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpsn1584ql" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.251) 0:00:37.128 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.330) 0:00:37.458 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.086) 0:00:37.545 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.043) 0:00:37.588 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.039) 0:00:37.628 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.052) 0:00:37.680 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.182) 0:00:37.862 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.123) 0:00:37.985 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.084) 0:00:38.070 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931222.0892446, "block_size": 4096, "blocks": 0, "ctime": 1707931222.0852444, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1707931222.0852444, "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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.202) 0:00:38.272 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.064) 0:00:38.337 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.093) 0:00:38.431 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.055) 0:00:38.486 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.135) 0:00:38.621 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.024) 0:00:38.646 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022137", "end": "2024-02-14 17:20:27.194948", "rc": 1, "start": "2024-02-14 17:20:27.172811" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.158) 0:00:38.804 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.023) 0:00:38.828 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.086) 0:00:38.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.047) 0:00:38.962 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.050) 0:00:39.012 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.032) 0:00:39.045 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.032) 0:00:39.077 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.022) 0:00:39.100 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.031) 0:00:39.131 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.051) 0:00:39.183 **** 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.049233", "end": "2024-02-14 17:20:27.764427", "rc": 0, "start": "2024-02-14 17:20:27.715194" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.212) 0:00:39.395 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.052) 0:00:39.447 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.025) 0:00:39.473 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.052) 0:00:39.526 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.037) 0:00:39.564 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.041) 0:00:39.605 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-02-14 17:20:28.140134", "rc": 0, "start": "2024-02-14 17:20:28.136362" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.251) 0:00:39.857 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.057) 0:00:39.914 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.037) 0:00:39.951 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.071) 0:00:40.022 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.073) 0:00:40.096 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.066) 0:00:40.162 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.035) 0:00:40.198 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.042) 0:00:40.240 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.025) 0:00:40.265 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:29 +0000 (0:00:00.768) 0:00:41.034 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.820) 0:00:41.855 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.033) 0:00:41.888 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.021) 0:00:41.910 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.025) 0:00:41.935 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.050) 0:00:41.985 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.022) 0:00:42.008 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.022) 0:00:42.030 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.028) 0:00:42.059 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.025) 0:00:42.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.027) 0:00:42.112 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.275) 0:00:42.388 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmprsou5o2m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.247) 0:00:42.636 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.284) 0:00:42.920 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.024) 0:00:42.945 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.033) 0:00:42.978 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.058) 0:00:43.037 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.045) 0:00:43.082 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.159) 0:00:43.241 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.042) 0:00:43.284 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.041) 0:00:43.325 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.042) 0:00:43.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.026) 0:00:43.394 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.020) 0:00:43.415 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.022) 0:00:43.438 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:32 +0000 (0:00:00.765) 0:00:44.204 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.767) 0:00:44.971 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.025) 0:00:44.996 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.026) 0:00:45.023 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.023) 0:00:45.046 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.045) 0:00:45.092 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.022) 0:00:45.115 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.024) 0:00:45.139 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.030) 0:00:45.170 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.022) 0:00:45.192 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.023) 0:00:45.216 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.266) 0:00:45.482 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpx3ssedrq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.214) 0:00:45.697 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.502) 0:00:46.200 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.057) 0:00:46.258 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.047) 0:00:46.305 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.066) 0:00:46.372 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.027) 0:00:46.399 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.130) 0:00:46.530 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.038) 0:00:46.568 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.054) 0:00:46.623 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.041) 0:00:46.664 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.024) 0:00:46.688 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.024) 0:00:46.713 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.771) 0:00:47.485 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.727) 0:00:48.212 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.029) 0:00:48.241 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.022) 0:00:48.264 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.023) 0:00:48.287 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.048) 0:00:48.336 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.024) 0:00:48.361 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.022) 0:00:48.383 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.025) 0:00:48.409 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.021) 0:00:48.431 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.020) 0:00:48.452 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.251) 0:00:48.703 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpf0n3ogqd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.290) 0:00:48.993 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.311) 0:00:49.305 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.025) 0:00:49.330 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.032) 0:00:49.362 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.023) 0:00:49.386 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.052) 0:00:49.439 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.137) 0:00:49.577 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.042) 0:00:49.619 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.052) 0:00:49.671 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.067) 0:00:49.739 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.039) 0:00:49.779 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.051) 0:00:49.830 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.028) 0:00:49.859 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.798) 0:00:50.658 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.699) 0:00:51.358 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.033) 0:00:51.391 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.037) 0:00:51.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.034) 0:00:51.463 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.052) 0:00:51.516 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.028) 0:00:51.544 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.035) 0:00:51.580 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.027) 0:00:51.607 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.030) 0:00:51.637 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.034) 0:00:51.672 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.248) 0:00:51.920 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpb8b0hssb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.364) 0:00:52.284 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.262) 0:00:52.546 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.050) 0:00:52.596 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.031) 0:00:52.628 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.025) 0:00:52.653 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.033) 0:00:52.686 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.184) 0:00:52.871 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.062) 0:00:52.934 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.054) 0:00:52.989 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.034) 0:00:53.023 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.195) 0:00:53.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.048) 0:00:53.268 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024297", "end": "2024-02-14 17:20:41.832718", "rc": 1, "start": "2024-02-14 17:20:41.808421" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.183) 0:00:53.451 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.037) 0:00:53.489 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.029) 0:00:53.518 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.027) 0:00:53.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.033) 0:00:53.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.033) 0:00:53.612 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.027) 0:00:53.640 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.037) 0:00:53.678 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.034) 0:00:53.713 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.082) 0:00:53.795 **** 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.048877", "end": "2024-02-14 17:20:42.370314", "rc": 0, "start": "2024-02-14 17:20:42.321437" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.213) 0:00:54.009 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.072) 0:00:54.082 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.030) 0:00:54.113 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.073) 0:00:54.186 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.064) 0:00:54.251 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.075) 0:00:54.326 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003782", "end": "2024-02-14 17:20:42.860836", "rc": 0, "start": "2024-02-14 17:20:42.857054" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.144) 0:00:54.471 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.025) 0:00:54.496 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.022) 0:00:54.519 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.046) 0:00:54.565 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.071) 0:00:54.637 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.041) 0:00:54.678 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.028) 0:00:54.706 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.024) 0:00:54.731 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.025) 0:00:54.756 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.762) 0:00:55.519 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.711) 0:00:56.230 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.037) 0:00:56.267 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.052) 0:00:56.320 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.029) 0:00:56.350 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.046) 0:00:56.397 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.053) 0:00:56.451 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.021) 0:00:56.472 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.026) 0:00:56.499 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.023) 0:00:56.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.023) 0:00:56.546 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.272) 0:00:56.818 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpq3iqu6wl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.439) 0:00:57.258 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.325) 0:00:57.584 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.031) 0:00:57.615 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.026) 0:00:57.642 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.028) 0:00:57.670 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.022) 0:00:57.693 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.136) 0:00:57.829 **** 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_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.024) 0:00:57.854 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.050) 0:00:57.904 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.094) 0:00:57.998 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.033) 0:00:58.031 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.026) 0:00:58.058 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.042) 0:00:58.100 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.790) 0:00:58.891 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.737) 0:00:59.628 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.043) 0:00:59.671 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.025) 0:00:59.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.025) 0:00:59.722 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.054) 0:00:59.777 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.023) 0:00:59.800 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.029) 0:00:59.829 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.228) 0:01:00.057 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.044) 0:01:00.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.039) 0:01:00.141 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.256) 0:01:00.398 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmp0pzqvuis" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.254) 0:01:00.652 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.481) 0:01:01.134 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.023) 0:01:01.157 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.027) 0:01:01.184 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.024) 0:01:01.209 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.032) 0:01:01.241 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.133) 0:01:01.375 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.037) 0:01:01.412 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.043) 0:01:01.456 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.115) 0:01:01.571 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.032) 0:01:01.603 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.026) 0:01:01.629 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.802) 0:01:02.432 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.702) 0:01:03.134 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.031) 0:01:03.166 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.035) 0:01:03.201 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.024) 0:01:03.226 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.053) 0:01:03.280 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.043) 0:01:03.323 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.033) 0:01:03.357 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.064) 0:01:03.421 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.025) 0:01:03.446 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.024) 0:01:03.471 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.239) 0:01:03.711 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmps9f1jjr4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.248) 0:01:03.959 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.272) 0:01:04.231 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.035) 0:01:04.267 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.032) 0:01:04.299 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.049) 0:01:04.349 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.024) 0:01:04.373 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.137) 0:01:04.511 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.040) 0:01:04.552 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.035) 0:01:04.588 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.039) 0:01:04.627 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.073) 0:01:04.700 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.023) 0:01:04.724 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.022) 0:01:04.746 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.786) 0:01:05.533 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.708) 0:01:06.241 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.048) 0:01:06.290 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.029) 0:01:06.320 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.033) 0:01:06.353 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.093) 0:01:06.447 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.046) 0:01:06.493 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.028) 0:01:06.521 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.100) 0:01:06.622 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.036) 0:01:06.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.034) 0:01:06.692 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.259) 0:01:06.951 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17478wfa2mlou/tmpz58sa99h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.275) 0:01:07.227 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.254) 0:01:07.481 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.027) 0:01:07.508 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.050) 0:01:07.559 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.079) 0:01:07.638 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.024) 0:01:07.663 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.183) 0:01:07.847 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.076) 0:01:07.923 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.060) 0:01:07.983 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.029) 0:01:08.012 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.228) 0:01:08.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.044) 0:01:08.285 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023906", "end": "2024-02-14 17:20:56.850759", "rc": 1, "start": "2024-02-14 17:20:56.826853" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.201) 0:01:08.487 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.095) 0:01:08.582 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.056) 0:01:08.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.040) 0:01:08.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.029) 0:01:08.709 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.025) 0:01:08.734 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.061) 0:01:08.795 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.414753", "end": "2024-02-14 17:20:57.741507", "rc": 0, "start": "2024-02-14 17:20:57.326754" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.573) 0:01:09.369 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.037) 0:01:09.407 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.032) 0:01:09.439 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.027) 0:01:09.467 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.034) 0:01:09.501 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:57 +0000 (0:00:00.078) 0:01:09.579 **** 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.051220", "end": "2024-02-14 17:20:58.216416", "rc": 0, "start": "2024-02-14 17:20:58.165196" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.299) 0:01:09.879 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007966", "end": "2024-02-14 17:20:58.439419", "rc": 0, "start": "2024-02-14 17:20:58.431453" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:c9:6f:72:12:3d brd ff:ff:ff:ff:ff:ff inet 10.31.11.193/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2765sec preferred_lft 2765sec inet6 fe80::10c9:6fff:fe72:123d/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether aa:83:f1:79:5d:d8 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.193 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.179) 0:01:10.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=14 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Wednesday 14 February 2024 17:20:58 +0000 (0:00:00.037) 0:01:10.096 **** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.63s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.98s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.76s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.50s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.45s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Re-test connectivity ----------------------- 0.93s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.89s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-bond_options_rewrite_cbveasl/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. ---^---^---^---^---^---