# 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_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 18:48:02 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.536) 0:00:00.549 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.026) 0:00:00.575 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.236) 0:00:00.812 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.233) 0:00:01.046 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.043) 0:00:01.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.072) 0:00:01.162 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.074) 0:00:01.237 ****** 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_rewritevfzxm_kl/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.270) 0:00:01.508 ****** 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_rewritevfzxm_kl/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.544) 0:00:02.052 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204157", "end": "2024-02-06 18:48:05.144176", "rc": 0, "start": "2024-02-06 18:48:04.940019" } 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_rewritevfzxm_kl/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.343) 0:00:02.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.012) 0:00:02.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.015) 0:00:02.424 ****** 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.011) 0:00:02.435 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.393) 0:00:02.828 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.012) 0:00:02.841 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.018) 0:00:02.860 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.013) 0:00:02.873 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.041) 0:00:02.915 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.014) 0:00:02.930 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.014) 0:00:02.945 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003751", "end": "2024-02-06 18:48:05.821656", "rc": 0, "start": "2024-02-06 18:48:05.817905" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.146) 0:00:03.091 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.013) 0:00:03.104 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.019) 0:00:03.124 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.027) 0:00:03.152 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010897", "end": "2024-02-06 18:48:06.057406", "rc": 1, "start": "2024-02-06 18:48:06.046509" } 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.153) 0:00:03.306 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.014) 0:00:03.321 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.130) 0:00:03.451 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.029) 0:00:03.481 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.036) 0:00:03.517 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.034) 0:00:03.551 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.069) 0:00:03.620 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.013) 0:00:03.634 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.010) 0:00:03.644 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.012) 0:00:03.656 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.890) 0:00:04.547 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.813) 0:00:05.361 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.038) 0:00:05.399 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.026) 0:00:05.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.022) 0:00:05.448 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:10 +0000 (0:00:02.492) 0:00:07.941 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.049) 0:00:07.990 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.064) 0:00:08.055 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.072) 0:00:08.127 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.066) 0:00:08.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.044) 0:00:08.238 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.512) 0:00:08.750 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpxd1g2gdu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.329) 0:00:09.079 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.453) 0:00:09.533 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.035) 0:00:09.569 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.024) 0:00:09.593 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.036) 0:00:09.630 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.037) 0:00:09.668 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.208) 0:00:09.877 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.040) 0:00:09.918 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.038) 0:00:09.957 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.039) 0:00:09.996 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.022) 0:00:10.019 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245292.2589006, "block_size": 4096, "blocks": 8, "ctime": 1707245292.2589006, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245292.2589006, "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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.141) 0:00:10.161 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.024) 0:00:10.185 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023005", "end": "2024-02-06 18:48:13.088543", "rc": 1, "start": "2024-02-06 18:48:13.065538" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.217) 0:00:10.402 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.024) 0:00:10.427 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003632", "end": "2024-02-06 18:48:13.311676", "rc": 0, "start": "2024-02-06 18:48:13.308044" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.156) 0:00:10.583 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.028) 0:00:10.612 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003592", "end": "2024-02-06 18:48:13.493884", "rc": 0, "start": "2024-02-06 18:48:13.490292" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.173) 0:00:10.785 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.039) 0:00:10.824 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.069) 0:00:10.894 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.038) 0:00:10.933 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.062) 0:00:10.996 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.036) 0:00:11.033 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.037) 0:00:11.070 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.048) 0:00:11.118 ****** 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.046337", "end": "2024-02-06 18:48:14.049982", "rc": 1, "start": "2024-02-06 18:48:14.003645" } 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.208) 0:00:11.327 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.047) 0:00:11.374 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.025) 0:00:11.400 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.079) 0:00:11.479 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.042) 0:00:11.522 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.048) 0:00:11.570 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003630", "end": "2024-02-06 18:48:14.449844", "rc": 0, "start": "2024-02-06 18:48:14.446214" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.153) 0:00:11.724 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.053) 0:00:11.778 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.075) 0:00:11.853 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.067) 0:00:11.921 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007475", "end": "2024-02-06 18:48:14.802063", "rc": 1, "start": "2024-02-06 18:48:14.794588" } 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.141) 0:00:12.062 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.036) 0:00:12.098 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.135) 0:00:12.234 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.024) 0:00:12.259 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.046) 0:00:12.305 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.066) 0:00:12.371 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.044) 0:00:12.416 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.027) 0:00:12.443 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.021) 0:00:12.465 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.022) 0:00:12.487 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.778) 0:00:13.266 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.658) 0:00:13.924 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.022) 0:00:13.947 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.023) 0:00:13.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.064) 0:00:14.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.045) 0:00:14.080 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.039) 0:00:14.119 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.043) 0:00:14.162 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.032) 0:00:14.195 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.029) 0:00:14.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.058) 0:00:14.283 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.245) 0:00:14.528 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpoatl1ckv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.277) 0:00:14.805 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.254) 0:00:15.060 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.058) 0:00:15.119 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.053) 0:00:15.172 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.043) 0:00:15.215 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.051) 0:00:15.267 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.185) 0:00:15.452 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.044) 0:00:15.497 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.114) 0:00:15.611 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.059) 0:00:15.671 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.153) 0:00:15.825 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.041) 0:00:15.867 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.047) 0:00:15.914 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.029) 0:00:15.943 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245297.7856977, "block_size": 4096, "blocks": 8, "ctime": 1707245297.7856977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245297.7856977, "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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.175) 0:00:16.118 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.028) 0:00:16.146 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021224", "end": "2024-02-06 18:48:19.099760", "rc": 1, "start": "2024-02-06 18:48:19.078536" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.218) 0:00:16.365 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.031) 0:00:16.396 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003733", "end": "2024-02-06 18:48:19.286395", "rc": 0, "start": "2024-02-06 18:48:19.282662" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.154) 0:00:16.551 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.035) 0:00:16.586 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003577", "end": "2024-02-06 18:48:19.480635", "rc": 0, "start": "2024-02-06 18:48:19.477058" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.161) 0:00:16.747 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.055) 0:00:16.803 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.031) 0:00:16.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.058) 0:00:16.893 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.024) 0:00:16.918 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.021) 0:00:16.939 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.022) 0:00:16.961 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.047) 0:00:17.009 ****** 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.041509", "end": "2024-02-06 18:48:19.924461", "rc": 1, "start": "2024-02-06 18:48:19.882952" } 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.190) 0:00:17.200 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.038) 0:00:17.239 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.026) 0:00:17.265 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.108) 0:00:17.373 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.068) 0:00:17.441 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.068) 0:00:17.510 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004740", "end": "2024-02-06 18:48:21.407379", "rc": 0, "start": "2024-02-06 18:48:20.402639" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:21 +0000 (0:00:01.194) 0:00:18.705 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.023) 0:00:18.728 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.023) 0:00:18.752 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.052) 0:00:18.805 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.042) 0:00:18.848 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.044) 0:00:18.893 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.025) 0:00:18.918 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.020) 0:00:18.939 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.020) 0:00:18.959 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.773) 0:00:19.733 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.733) 0:00:20.466 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.025) 0:00:20.492 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.024) 0:00:20.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.026) 0:00:20.542 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.044) 0:00:20.586 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.021) 0:00:20.607 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.021) 0:00:20.629 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.026) 0:00:20.656 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.024) 0:00:20.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.025) 0:00:20.706 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.279) 0:00:20.985 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpb69g9ls7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.269) 0:00:21.255 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.242) 0:00:21.497 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.032) 0:00:21.530 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.066) 0:00:21.596 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.023) 0:00:21.620 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.023) 0:00:21.643 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.134) 0:00:21.777 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.022) 0:00:21.800 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.053) 0:00:21.853 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.052) 0:00:21.906 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.050) 0:00:21.957 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.036) 0:00:21.993 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.022) 0:00:22.016 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.028) 0:00:22.044 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.801) 0:00:22.846 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.758) 0:00:23.605 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.047) 0:00:23.652 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.033) 0:00:23.686 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.056) 0:00:23.742 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.093) 0:00:23.835 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.050) 0:00:23.885 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.073) 0:00:23.959 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.051) 0:00:24.011 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.058) 0:00:24.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.043) 0:00:24.113 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.311) 0:00:24.424 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpxzy_lipy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.365) 0:00:24.790 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.707) 0:00:25.497 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.050) 0:00:25.548 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.023) 0:00:25.571 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.030) 0:00:25.602 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.036) 0:00:25.638 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.159) 0:00:25.798 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.115) 0:00:25.913 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.045) 0:00:25.959 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245307.994323, "block_size": 4096, "blocks": 0, "ctime": 1707245307.993323, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17485, "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": 1707245307.993323, "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_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.175) 0:00:26.134 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.032) 0:00:26.166 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.045) 0:00:26.211 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.023) 0:00:26.235 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245307.8143296, "block_size": 4096, "blocks": 8, "ctime": 1707245304.2284613, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245304.2284613, "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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.148) 0:00:26.384 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.028) 0:00:26.413 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021923", "end": "2024-02-06 18:48:29.349212", "rc": 1, "start": "2024-02-06 18:48:29.327289" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.222) 0:00:26.636 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.024) 0:00:26.660 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003611", "end": "2024-02-06 18:48:29.540662", "rc": 0, "start": "2024-02-06 18:48:29.537051" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.142) 0:00:26.803 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.027) 0:00:26.830 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003614", "end": "2024-02-06 18:48:29.711120", "rc": 0, "start": "2024-02-06 18:48:29.707506" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.143) 0:00:26.974 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.025) 0:00:26.999 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.023) 0:00:27.023 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.023) 0:00:27.047 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.023) 0:00:27.070 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.020) 0:00:27.090 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.022) 0:00:27.113 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.039) 0:00:27.152 ****** 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.050135", "end": "2024-02-06 18:48:30.079837", "rc": 0, "start": "2024-02-06 18:48:30.029702" } 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.197) 0:00:27.350 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.047) 0:00:27.398 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.053) 0:00:27.451 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.091) 0:00:27.543 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.034) 0:00:27.577 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.032) 0:00:27.610 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-02-06 18:48:30.488580", "rc": 0, "start": "2024-02-06 18:48:30.484976" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.166) 0:00:27.777 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.024) 0:00:27.801 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.022) 0:00:27.823 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.045) 0:00:27.868 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.056) 0:00:27.925 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.040) 0:00:27.965 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.054) 0:00:28.020 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.022) 0:00:28.042 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.021) 0:00:28.064 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.803) 0:00:28.867 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.675) 0:00:29.543 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.042) 0:00:29.586 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.034) 0:00:29.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.048) 0:00:29.670 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.056) 0:00:29.726 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.029) 0:00:29.756 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.042) 0:00:29.798 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.061) 0:00:29.860 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.029) 0:00:29.890 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.024) 0:00:29.915 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.271) 0:00:30.186 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmp8gxa9tio" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.390) 0:00:30.577 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.244) 0:00:30.822 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.029) 0:00:30.851 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.043) 0:00:30.894 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.032) 0:00:30.927 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.058) 0:00:30.985 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.150) 0:00:31.136 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.023) 0:00:31.160 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.034) 0:00:31.194 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.039) 0:00:31.234 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.026) 0:00:31.260 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.036) 0:00:31.296 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.024) 0:00:31.321 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.829) 0:00:32.151 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.659) 0:00:32.810 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.022) 0:00:32.832 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.021) 0:00:32.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.022) 0:00:32.877 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.044) 0:00:32.922 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.021) 0:00:32.943 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.021) 0:00:32.965 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.026) 0:00:32.991 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.025) 0:00:33.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.035) 0:00:33.052 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.252) 0:00:33.304 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmp3odtdtd5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.277) 0:00:33.582 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.538) 0:00:34.121 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.022) 0:00:34.143 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.031) 0:00:34.174 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.035) 0:00:34.210 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.031) 0:00:34.241 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.140) 0:00:34.382 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.039) 0:00:34.422 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.038) 0:00:34.461 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.040) 0:00:34.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.025) 0:00:34.527 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.023) 0:00:34.550 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.022) 0:00:34.572 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.837) 0:00:35.410 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.663) 0:00:36.073 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.022) 0:00:36.096 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.022) 0:00:36.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.025) 0:00:36.143 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.054) 0:00:36.197 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.040) 0:00:36.238 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.022) 0:00:36.261 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.027) 0:00:36.289 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.025) 0:00:36.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.021) 0:00:36.336 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.283) 0:00:36.619 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpg2maqhkc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.247) 0:00:36.867 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.250) 0:00:37.117 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.021) 0:00:37.139 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.022) 0:00:37.162 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.022) 0:00:37.184 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.021) 0:00:37.206 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.134) 0:00:37.340 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.045) 0:00:37.385 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.049) 0:00:37.434 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245316.7779887, "block_size": 4096, "blocks": 0, "ctime": 1707245316.7769887, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17485, "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": 1707245316.7769887, "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_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.164) 0:00:37.599 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.030) 0:00:37.629 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.051) 0:00:37.680 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.070) 0:00:37.751 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.158) 0:00:37.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.057) 0:00:37.967 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022061", "end": "2024-02-06 18:48:40.909395", "rc": 1, "start": "2024-02-06 18:48:40.887334" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.223) 0:00:38.191 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.049) 0:00:38.240 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.026) 0:00:38.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.047) 0:00:38.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.033) 0:00:38.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.035) 0:00:38.384 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.031) 0:00:38.415 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.020) 0:00:38.436 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.023) 0:00:38.460 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.039) 0:00:38.500 ****** 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.048868", "end": "2024-02-06 18:48:41.427839", "rc": 0, "start": "2024-02-06 18:48:41.378971" } 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.197) 0:00:38.697 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.038) 0:00:38.736 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.059) 0:00:38.796 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.048) 0:00:38.845 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.041) 0:00:38.886 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.036) 0:00:38.923 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004809", "end": "2024-02-06 18:48:42.805444", "rc": 0, "start": "2024-02-06 18:48:41.800635" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:42 +0000 (0:00:01.144) 0:00:40.067 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.041) 0:00:40.109 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.036) 0:00:40.146 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.064) 0:00:40.210 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.038) 0:00:40.248 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.061) 0:00:40.310 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.026) 0:00:40.336 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.021) 0:00:40.357 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.026) 0:00:40.384 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.831) 0:00:41.215 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.713) 0:00:41.929 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.037) 0:00:41.966 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.024) 0:00:41.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.022) 0:00:42.013 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.043) 0:00:42.057 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.022) 0:00:42.079 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.050) 0:00:42.130 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.027) 0:00:42.157 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.025) 0:00:42.182 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.022) 0:00:42.205 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.267) 0:00:42.472 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmp6x4xn7qa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.254) 0:00:42.727 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.251) 0:00:42.979 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.040) 0:00:43.019 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.029) 0:00:43.049 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.037) 0:00:43.086 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.038) 0:00:43.125 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.156) 0:00:43.282 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.025) 0:00:43.308 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.041) 0:00:43.350 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.069) 0:00:43.419 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.030) 0:00:43.450 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.023) 0:00:43.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.025) 0:00:43.499 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.799) 0:00:44.298 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.659) 0:00:44.957 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.024) 0:00:44.982 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.022) 0:00:45.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.020) 0:00:45.025 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.042) 0:00:45.067 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.021) 0:00:45.088 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.052) 0:00:45.141 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.026) 0:00:45.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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.023) 0:00:45.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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.021) 0:00:45.212 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.234) 0:00:45.447 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmp0w86cmmg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.225) 0:00:45.673 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.494) 0:00:46.167 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.041) 0:00:46.208 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.056) 0:00:46.265 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.032) 0:00:46.298 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.024) 0:00:46.322 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.155) 0:00:46.478 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.043) 0:00:46.521 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.089) 0:00:46.611 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.057) 0:00:46.668 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.031) 0:00:46.700 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.027) 0:00:46.728 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:50 +0000 (0:00:00.790) 0:00:47.518 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:50 +0000 (0:00:00.716) 0:00:48.235 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.045) 0:00:48.280 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.038) 0:00:48.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.039) 0:00:48.358 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.063) 0:00:48.421 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.073) 0:00:48.494 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.090) 0:00:48.585 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.055) 0:00:48.641 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.073) 0:00:48.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.039) 0:00:48.754 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.348) 0:00:49.103 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmp2tqgccmz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.263) 0:00:49.366 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.287) 0:00:49.653 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.070) 0:00:49.724 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.028) 0:00:49.753 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.026) 0:00:49.779 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.036) 0:00:49.816 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.157) 0:00:49.974 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.068) 0:00:50.042 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.081) 0:00:50.124 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.070) 0:00:50.195 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.027) 0:00:50.222 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.021) 0:00:50.243 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.024) 0:00:50.268 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.798) 0:00:51.067 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.702) 0:00:51.769 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.038) 0:00:51.808 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.049) 0:00:51.858 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.029) 0:00:51.887 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.050) 0:00:51.938 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.021) 0:00:51.960 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.066) 0:00:52.026 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.030) 0:00:52.056 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.022) 0:00:52.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.034) 0:00:52.113 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.277) 0:00:52.391 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpc0zgcr1r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.270) 0:00:52.661 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.261) 0:00:52.923 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.051) 0:00:52.975 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.025) 0:00:53.000 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.025) 0:00:53.026 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.021) 0:00:53.048 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.151) 0:00:53.199 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.049) 0:00:53.248 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.047) 0:00:53.296 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.050) 0:00:53.347 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.142) 0:00:53.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.041) 0:00:53.531 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022166", "end": "2024-02-06 18:48:56.431097", "rc": 1, "start": "2024-02-06 18:48:56.408931" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.173) 0:00:53.704 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.041) 0:00:53.746 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.027) 0:00:53.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.027) 0:00:53.801 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.024) 0:00:53.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.031) 0:00:53.858 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.024) 0:00:53.882 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.031) 0:00:53.914 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.025) 0:00:53.939 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.044) 0:00:53.983 ****** 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.047288", "end": "2024-02-06 18:48:56.906827", "rc": 0, "start": "2024-02-06 18:48:56.859539" } 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_rewritevfzxm_kl/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.205) 0:00:54.189 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.042) 0:00:54.232 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.165) 0:00:54.397 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.078) 0:00:54.475 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.043) 0:00:54.518 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.041) 0:00:54.560 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004853", "end": "2024-02-06 18:48:58.465556", "rc": 0, "start": "2024-02-06 18:48:57.460703" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:58 +0000 (0:00:01.180) 0:00:55.741 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.030) 0:00:55.771 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.038) 0:00:55.810 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.061) 0:00:55.871 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.039) 0:00:55.910 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.041) 0:00:55.952 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.028) 0:00:55.980 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.048) 0:00:56.028 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.024) 0:00:56.053 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.790) 0:00:56.843 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.757) 0:00:57.601 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.030) 0:00:57.632 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.035) 0:00:57.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.038) 0:00:57.706 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.058) 0:00:57.764 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.026) 0:00:57.791 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.049) 0:00:57.840 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.029) 0:00:57.869 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.084) 0:00:57.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.030) 0:00:57.984 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.290) 0:00:58.275 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpgtyqgjtp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.308) 0:00:58.583 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.246) 0:00:58.830 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.021) 0:00:58.851 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.022) 0:00:58.873 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.022) 0:00:58.896 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.021) 0:00:58.917 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.131) 0:00:59.049 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.023) 0:00:59.073 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.035) 0:00:59.108 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.039) 0:00:59.148 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.025) 0:00:59.173 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.045) 0:00:59.219 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.021) 0:00:59.241 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.773) 0:01:00.014 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.670) 0:01:00.684 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.028) 0:01:00.713 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.021) 0:01:00.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.023) 0:01:00.757 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.043) 0:01:00.801 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.021) 0:01:00.822 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.022) 0:01:00.845 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.028) 0:01:00.873 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.086) 0:01:00.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.038) 0:01:00.998 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.287) 0:01:01.285 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpwn0ku0m3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.325) 0:01:01.611 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.500) 0:01:02.112 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.040) 0:01:02.153 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.034) 0:01:02.187 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.028) 0:01:02.216 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.027) 0:01:02.244 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.135) 0:01:02.380 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.038) 0:01:02.418 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.045) 0:01:02.464 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.027) 0:01:02.491 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.021) 0:01:02.512 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.050) 0:01:02.562 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.791) 0:01:03.353 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.674) 0:01:04.028 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.024) 0:01:04.053 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.022) 0:01:04.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.031) 0:01:04.108 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.068) 0:01:04.176 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.044) 0:01:04.221 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.033) 0:01:04.255 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.027) 0:01:04.283 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.060) 0:01:04.343 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.047) 0:01:04.390 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.230) 0:01:04.621 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmprnrqxsda" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.218) 0:01:04.840 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.248) 0:01:05.088 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.020) 0:01:05.109 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.022) 0:01:05.132 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.026) 0:01:05.159 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.026) 0:01:05.185 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.146) 0:01:05.332 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.039) 0:01:05.372 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.034) 0:01:05.407 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.038) 0:01:05.445 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.025) 0:01:05.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.047) 0:01:05.518 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.021) 0:01:05.539 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.807) 0:01:06.346 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.709) 0:01:07.056 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.024) 0:01:07.080 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.021) 0:01:07.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.021) 0:01:07.123 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.043) 0:01:07.166 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.023) 0:01:07.190 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.021) 0:01:07.211 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:09 +0000 (0:00:00.023) 0:01:07.235 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.046) 0:01:07.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.022) 0:01:07.304 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.258) 0:01:07.563 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17378efumw6kz/tmpq5a_37t9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.249) 0:01:07.812 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.267) 0:01:08.079 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.048) 0:01:08.128 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.053) 0:01:08.181 ****** 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_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:10 +0000 (0:00:00.028) 0:01:08.209 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.046) 0:01:08.256 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.162) 0:01:08.419 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.051) 0:01:08.470 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.049) 0:01:08.520 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.031) 0:01:08.551 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.181) 0:01:08.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.099) 0:01:08.832 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023480", "end": "2024-02-06 18:49:11.731667", "rc": 1, "start": "2024-02-06 18:49:11.708187" } 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.214) 0:01:09.047 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.063) 0:01:09.110 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.026) 0:01:09.136 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:49:11 +0000 (0:00:00.035) 0:01:09.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.065) 0:01:09.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.065) 0:01:09.302 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.074) 0:01:09.377 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.417256", "end": "2024-02-06 18:49:12.705358", "rc": 0, "start": "2024-02-06 18:49:12.288102" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.629) 0:01:10.007 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.049) 0:01:10.056 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.037) 0:01:10.093 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.036) 0:01:10.130 ****** 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_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:49:12 +0000 (0:00:00.054) 0:01:10.185 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:49:13 +0000 (0:00:00.065) 0:01:10.250 ****** 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.049184", "end": "2024-02-06 18:49:13.202803", "rc": 0, "start": "2024-02-06 18:49:13.153619" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Tuesday 06 February 2024 18:49:13 +0000 (0:00:00.219) 0:01:10.469 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.70s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.24s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.62s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.55s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.20s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 1.09s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.81s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewritevfzxm_kl/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_rewritevfzxm_kl/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_rewritevfzxm_kl/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_rewritevfzxm_kl/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_rewritevfzxm_kl/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. ---^---^---^---^---^---