# 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-tft-testsezfn21rw/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_states_initscripts.yml:5 Monday 17 June 2024 14:38:45 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_states_initscripts.yml:8 Monday 17 June 2024 14:38:45 +0000 (0:00:00.549) 0:00:00.561 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:38:45 +0000 (0:00:00.021) 0:00:00.582 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:38:45 +0000 (0:00:00.205) 0:00:00.788 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:38:46 +0000 (0:00:00.187) 0:00:00.976 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:38:46 +0000 (0:00:00.020) 0:00:00.996 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:38:46 +0000 (0:00:00.019) 0:00:01.016 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:38:46 +0000 (0:00:00.043) 0:00:01.060 *********** 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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:38:46 +0000 (0:00:00.181) 0:00:01.241 *********** 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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:38:46 +0000 (0:00:00.434) 0:00:01.675 *********** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.161416", "end": "2024-06-17 14:38:46.991708", "rc": 0, "start": "2024-06-17 14:38:46.830292" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/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=stock&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:38:47 +0000 (0:00:00.282) 0:00:01.958 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:38:47 +0000 (0:00:00.016) 0:00:01.974 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_states_initscripts.yml:10 Monday 17 June 2024 14:38:47 +0000 (0:00:00.012) 0:00:01.987 *********** 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.012) 0:00:01.999 *********** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:11 Monday 17 June 2024 14:38:47 +0000 (0:00:00.380) 0:00:02.380 *********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:22 Monday 17 June 2024 14:38:47 +0000 (0:00:00.012) 0:00:02.392 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:38:47 +0000 (0:00:00.033) 0:00:02.426 *********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:38:47 +0000 (0:00:00.027) 0:00:02.453 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:38:47 +0000 (0:00:00.094) 0:00:02.548 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.039) 0:00:02.587 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.015) 0:00:02.602 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003194", "end": "2024-06-17 14:38:47.757829", "rc": 0, "start": "2024-06-17 14:38:47.754635" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:38:47 +0000 (0:00:00.120) 0:00:02.722 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:38:47 +0000 (0:00:00.012) 0:00:02.735 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:38:47 +0000 (0:00:00.010) 0:00:02.745 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.022) 0:00:02.768 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011826", "end": "2024-06-17 14:38:47.931167", "rc": 1, "start": "2024-06-17 14:38:47.919341" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.124) 0:00:02.893 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:47 +0000 (0:00:00.015) 0:00:02.909 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:38:48 +0000 (0:00:00.119) 0:00:03.028 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:38:48 +0000 (0:00:00.015) 0:00:03.043 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:38:48 +0000 (0:00:00.022) 0:00:03.066 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:38:48 +0000 (0:00:00.084) 0:00:03.150 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:38:48 +0000 (0:00:00.025) 0:00:03.176 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:38:48 +0000 (0:00:00.014) 0:00:03.190 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:38:48 +0000 (0:00:00.011) 0:00:03.201 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:38:48 +0000 (0:00:00.010) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:38:49 +0000 (0:00:00.758) 0:00:03.970 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:38:50 +0000 (0:00:01.039) 0:00:05.010 *********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:38:50 +0000 (0:00:00.032) 0:00:05.042 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:38:50 +0000 (0:00:00.026) 0:00:05.069 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:38:50 +0000 (0:00:00.030) 0:00:05.100 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:38:50 +0000 (0:00:00.052) 0:00:05.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:38:50 +0000 (0:00:00.027) 0:00:05.179 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:38:50 +0000 (0:00:00.035) 0:00:05.214 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:38:50 +0000 (0:00:00.057) 0:00:05.272 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:38:50 +0000 (0:00:00.072) 0:00:05.345 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:38:50 +0000 (0:00:00.024) 0:00:05.370 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:38:50 +0000 (0:00:00.026) 0:00:05.396 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:38:50 +0000 (0:00:00.021) 0:00:05.418 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:38:50 +0000 (0:00:00.033) 0:00:05.452 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:38:50 +0000 (0:00:00.364) 0:00:05.817 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpn3p2sa2n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:38:51 +0000 (0:00:00.301) 0:00:06.118 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:38:51 +0000 (0:00:00.348) 0:00:06.467 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:38:51 +0000 (0:00:00.021) 0:00:06.488 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:38:51 +0000 (0:00:00.024) 0:00:06.513 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:38:51 +0000 (0:00:00.024) 0:00:06.538 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:38:51 +0000 (0:00:00.024) 0:00:06.562 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:38:51 +0000 (0:00:00.195) 0:00:06.758 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:38:51 +0000 (0:00:00.024) 0:00:06.783 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:38:51 +0000 (0:00:00.038) 0:00:06.822 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:38:51 +0000 (0:00:00.036) 0:00:06.858 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:38:51 +0000 (0:00:00.021) 0:00:06.879 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635131.4908624, "block_size": 4096, "blocks": 8, "ctime": 1718635131.4908624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635131.4908624, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:38:52 +0000 (0:00:00.131) 0:00:07.011 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:38:52 +0000 (0:00:00.026) 0:00:07.038 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020691", "end": "2024-06-17 14:38:52.225495", "rc": 1, "start": "2024-06-17 14:38:52.204804" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:38:52 +0000 (0:00:00.163) 0:00:07.201 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:38:52 +0000 (0:00:00.023) 0:00:07.224 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003520", "end": "2024-06-17 14:38:52.384796", "rc": 0, "start": "2024-06-17 14:38:52.381276" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:38:52 +0000 (0:00:00.171) 0:00:07.396 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:38:52 +0000 (0:00:00.037) 0:00:07.434 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003203", "end": "2024-06-17 14:38:52.598629", "rc": 0, "start": "2024-06-17 14:38:52.595426" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:38:52 +0000 (0:00:00.140) 0:00:07.574 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:38:52 +0000 (0:00:00.029) 0:00:07.604 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:38:52 +0000 (0:00:00.026) 0:00:07.630 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:38:52 +0000 (0:00:00.027) 0:00:07.658 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:38:52 +0000 (0:00:00.024) 0:00:07.682 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:38:52 +0000 (0:00:00.028) 0:00:07.711 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:38:52 +0000 (0:00:00.025) 0:00:07.736 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:38:52 +0000 (0:00:00.050) 0:00:07.787 *********** 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.037401", "end": "2024-06-17 14:38:52.981246", "rc": 1, "start": "2024-06-17 14:38:52.943845" } 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:45 Monday 17 June 2024 14:38:53 +0000 (0:00:00.182) 0:00:07.969 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:38:53 +0000 (0:00:00.039) 0:00:08.008 *********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:38:53 +0000 (0:00:00.023) 0:00:08.032 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:38:53 +0000 (0:00:00.046) 0:00:08.079 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:38:53 +0000 (0:00:00.039) 0:00:08.118 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:38:53 +0000 (0:00:00.071) 0:00:08.189 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003184", "end": "2024-06-17 14:38:53.366069", "rc": 0, "start": "2024-06-17 14:38:53.362885" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:38:53 +0000 (0:00:00.161) 0:00:08.351 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:38:53 +0000 (0:00:00.031) 0:00:08.382 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:38:53 +0000 (0:00:00.036) 0:00:08.419 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:38:53 +0000 (0:00:00.057) 0:00:08.477 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006538", "end": "2024-06-17 14:38:53.640754", "rc": 1, "start": "2024-06-17 14:38:53.634216" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:38:53 +0000 (0:00:00.142) 0:00:08.619 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:53 +0000 (0:00:00.068) 0:00:08.687 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:38:53 +0000 (0:00:00.196) 0:00:08.883 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:38:53 +0000 (0:00:00.026) 0:00:08.909 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 17 June 2024 14:38:54 +0000 (0:00:00.051) 0:00:08.961 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:38:54 +0000 (0:00:00.067) 0:00:09.028 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:38:54 +0000 (0:00:00.097) 0:00:09.125 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:38:54 +0000 (0:00:00.051) 0:00:09.177 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:38:54 +0000 (0:00:00.027) 0:00:09.205 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:38:54 +0000 (0:00:00.049) 0:00:09.255 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:38:55 +0000 (0:00:00.716) 0:00:09.971 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:38:55 +0000 (0:00:00.878) 0:00:10.849 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:38:55 +0000 (0:00:00.037) 0:00:10.887 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:38:55 +0000 (0:00:00.030) 0:00:10.918 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:38:55 +0000 (0:00:00.029) 0:00:10.947 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:38:56 +0000 (0:00:00.045) 0:00:10.993 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:38:56 +0000 (0:00:00.092) 0:00:11.085 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:38:56 +0000 (0:00:00.030) 0:00:11.116 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:38:56 +0000 (0:00:00.048) 0:00:11.164 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:38:56 +0000 (0:00:00.021) 0:00:11.186 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:38:56 +0000 (0:00:00.032) 0:00:11.218 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:38:56 +0000 (0:00:00.027) 0:00:11.246 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:38:56 +0000 (0:00:00.029) 0:00:11.275 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:38:56 +0000 (0:00:00.040) 0:00:11.316 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:38:56 +0000 (0:00:00.235) 0:00:11.551 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpxgd1yvpc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:38:56 +0000 (0:00:00.257) 0:00:11.808 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:38:57 +0000 (0:00:00.226) 0:00:12.035 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:38:57 +0000 (0:00:00.021) 0:00:12.056 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:38:57 +0000 (0:00:00.024) 0:00:12.081 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:38:57 +0000 (0:00:00.023) 0:00:12.105 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:38:57 +0000 (0:00:00.022) 0:00:12.128 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 17 June 2024 14:38:57 +0000 (0:00:00.125) 0:00:12.254 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:38:57 +0000 (0:00:00.022) 0:00:12.276 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:38:57 +0000 (0:00:00.084) 0:00:12.361 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:57 +0000 (0:00:00.043) 0:00:12.404 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:38:57 +0000 (0:00:00.145) 0:00:12.550 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:38:57 +0000 (0:00:00.029) 0:00:12.580 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:38:57 +0000 (0:00:00.039) 0:00:12.620 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:38:57 +0000 (0:00:00.024) 0:00:12.644 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635137.057888, "block_size": 4096, "blocks": 8, "ctime": 1718635137.057888, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635137.057888, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:38:57 +0000 (0:00:00.150) 0:00:12.794 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:38:57 +0000 (0:00:00.022) 0:00:12.817 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017330", "end": "2024-06-17 14:38:57.994411", "rc": 1, "start": "2024-06-17 14:38:57.977081" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:38:58 +0000 (0:00:00.151) 0:00:12.969 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:38:58 +0000 (0:00:00.025) 0:00:12.994 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003267", "end": "2024-06-17 14:38:58.155876", "rc": 0, "start": "2024-06-17 14:38:58.152609" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:38:58 +0000 (0:00:00.138) 0:00:13.133 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:38:58 +0000 (0:00:00.027) 0:00:13.161 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003230", "end": "2024-06-17 14:38:58.320158", "rc": 0, "start": "2024-06-17 14:38:58.316928" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:38:58 +0000 (0:00:00.136) 0:00:13.297 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:38:58 +0000 (0:00:00.058) 0:00:13.356 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:38:58 +0000 (0:00:00.028) 0:00:13.384 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:38:58 +0000 (0:00:00.031) 0:00:13.415 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:38:58 +0000 (0:00:00.025) 0:00:13.441 *********** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:38:58 +0000 (0:00:00.020) 0:00:13.461 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:38:58 +0000 (0:00:00.025) 0:00:13.487 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:38:58 +0000 (0:00:00.042) 0:00:13.529 *********** 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.038774", "end": "2024-06-17 14:38:58.726537", "rc": 1, "start": "2024-06-17 14:38:58.687763" } 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:65 Monday 17 June 2024 14:38:58 +0000 (0:00:00.171) 0:00:13.701 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:38:58 +0000 (0:00:00.038) 0:00:13.739 *********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:38:58 +0000 (0:00:00.024) 0:00:13.764 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:38:58 +0000 (0:00:00.058) 0:00:13.823 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:38:58 +0000 (0:00:00.061) 0:00:13.884 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:38:58 +0000 (0:00:00.041) 0:00:13.925 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003193", "end": "2024-06-17 14:38:59.106250", "rc": 0, "start": "2024-06-17 14:38:59.103057" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:38:59 +0000 (0:00:00.201) 0:00:14.126 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:38:59 +0000 (0:00:00.043) 0:00:14.170 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:38:59 +0000 (0:00:00.031) 0:00:14.202 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:38:59 +0000 (0:00:00.042) 0:00:14.244 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:38:59 +0000 (0:00:00.041) 0:00:14.286 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:38:59 +0000 (0:00:00.053) 0:00:14.339 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:38:59 +0000 (0:00:00.039) 0:00:14.379 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:38:59 +0000 (0:00:00.039) 0:00:14.419 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:38:59 +0000 (0:00:00.030) 0:00:14.449 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:00 +0000 (0:00:00.653) 0:00:15.103 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:01 +0000 (0:00:00.958) 0:00:16.061 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:01 +0000 (0:00:00.023) 0:00:16.084 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:01 +0000 (0:00:00.024) 0:00:16.109 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:01 +0000 (0:00:00.026) 0:00:16.136 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:01 +0000 (0:00:00.039) 0:00:16.175 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:01 +0000 (0:00:00.070) 0:00:16.246 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:01 +0000 (0:00:00.041) 0:00:16.288 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:01 +0000 (0:00:00.056) 0:00:16.344 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:01 +0000 (0:00:00.030) 0:00:16.374 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:01 +0000 (0:00:00.041) 0:00:16.416 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:01 +0000 (0:00:00.026) 0:00:16.443 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:01 +0000 (0:00:00.021) 0:00:16.465 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:01 +0000 (0:00:00.021) 0:00:16.486 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:01 +0000 (0:00:00.236) 0:00:16.722 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmprslgbu9i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:02 +0000 (0:00:00.254) 0:00:16.976 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:02 +0000 (0:00:00.264) 0:00:17.240 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:02 +0000 (0:00:00.023) 0:00:17.264 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:02 +0000 (0:00:00.026) 0:00:17.290 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:02 +0000 (0:00:00.024) 0:00:17.314 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:02 +0000 (0:00:00.023) 0:00:17.338 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:02 +0000 (0:00:00.130) 0:00:17.468 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:02 +0000 (0:00:00.035) 0:00:17.504 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:02 +0000 (0:00:00.044) 0:00:17.548 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:02 +0000 (0:00:00.043) 0:00:17.591 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:02 +0000 (0:00:00.042) 0:00:17.633 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:02 +0000 (0:00:00.028) 0:00:17.662 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:02 +0000 (0:00:00.022) 0:00:17.685 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:02 +0000 (0:00:00.024) 0:00:17.709 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:03 +0000 (0:00:00.678) 0:00:18.388 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:04 +0000 (0:00:00.919) 0:00:19.307 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:04 +0000 (0:00:00.025) 0:00:19.332 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:04 +0000 (0:00:00.026) 0:00:19.359 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:04 +0000 (0:00:00.024) 0:00:19.384 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:04 +0000 (0:00:00.023) 0:00:19.407 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:04 +0000 (0:00:00.037) 0:00:19.445 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:04 +0000 (0:00:00.037) 0:00:19.483 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:04 +0000 (0:00:00.058) 0:00:19.541 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:04 +0000 (0:00:00.030) 0:00:19.571 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:04 +0000 (0:00:00.056) 0:00:19.627 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:04 +0000 (0:00:00.037) 0:00:19.665 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:04 +0000 (0:00:00.075) 0:00:19.741 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:04 +0000 (0:00:00.029) 0:00:19.770 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:05 +0000 (0:00:00.226) 0:00:19.996 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpycnu1ygj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:05 +0000 (0:00:00.243) 0:00:20.240 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:05 +0000 (0:00:00.449) 0:00:20.689 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:05 +0000 (0:00:00.023) 0:00:20.713 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:05 +0000 (0:00:00.024) 0:00:20.737 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:05 +0000 (0:00:00.023) 0:00:20.761 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:05 +0000 (0:00:00.021) 0:00:20.782 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:05 +0000 (0:00:00.158) 0:00:20.941 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:39:06 +0000 (0:00:00.043) 0:00:20.984 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:06 +0000 (0:00:00.041) 0:00:21.026 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635145.6509278, "block_size": 4096, "blocks": 0, "ctime": 1718635145.648928, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1718635145.648928, "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-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:39:06 +0000 (0:00:00.143) 0:00:21.169 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:39:06 +0000 (0:00:00.077) 0:00:21.247 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:06 +0000 (0:00:00.044) 0:00:21.291 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:06 +0000 (0:00:00.026) 0:00:21.318 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635145.4909272, "block_size": 4096, "blocks": 8, "ctime": 1718635142.2549121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25450, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635142.2549121, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:06 +0000 (0:00:00.148) 0:00:21.466 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:06 +0000 (0:00:00.031) 0:00:21.497 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019531", "end": "2024-06-17 14:39:06.678373", "rc": 1, "start": "2024-06-17 14:39:06.658842" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:06 +0000 (0:00:00.163) 0:00:21.661 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:06 +0000 (0:00:00.025) 0:00:21.686 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004445", "end": "2024-06-17 14:39:07.848515", "rc": 0, "start": "2024-06-17 14:39:06.844070" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:07 +0000 (0:00:01.143) 0:00:22.830 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:07 +0000 (0:00:00.034) 0:00:22.864 *********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003206", "end": "2024-06-17 14:39:08.025775", "rc": 0, "start": "2024-06-17 14:39:08.022569" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:08 +0000 (0:00:00.143) 0:00:23.007 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:39:08 +0000 (0:00:00.053) 0:00:23.061 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:39:08 +0000 (0:00:00.026) 0:00:23.087 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:39:08 +0000 (0:00:00.061) 0:00:23.149 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:08 +0000 (0:00:00.025) 0:00:23.174 *********** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:08 +0000 (0:00:00.022) 0:00:23.197 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:08 +0000 (0:00:00.023) 0:00:23.220 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.040) 0:00:23.260 *********** 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.045199", "end": "2024-06-17 14:39:08.464294", "rc": 0, "start": "2024-06-17 14:39:08.419095" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:83 Monday 17 June 2024 14:39:08 +0000 (0:00:00.180) 0:00:23.441 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:08 +0000 (0:00:00.050) 0:00:23.491 *********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:08 +0000 (0:00:00.028) 0:00:23.520 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:08 +0000 (0:00:00.053) 0:00:23.574 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.034) 0:00:23.608 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.034) 0:00:23.643 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2024-06-17 14:39:08.802136", "rc": 0, "start": "2024-06-17 14:39:08.798801" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:08 +0000 (0:00:00.141) 0:00:23.784 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:08 +0000 (0:00:00.040) 0:00:23.824 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:08 +0000 (0:00:00.057) 0:00:23.881 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.049) 0:00:23.931 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:09 +0000 (0:00:00.069) 0:00:24.000 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.087) 0:00:24.088 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:09 +0000 (0:00:00.040) 0:00:24.129 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:09 +0000 (0:00:00.027) 0:00:24.157 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:09 +0000 (0:00:00.023) 0:00:24.180 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:09 +0000 (0:00:00.660) 0:00:24.841 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:10 +0000 (0:00:00.900) 0:00:25.741 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:10 +0000 (0:00:00.024) 0:00:25.765 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:10 +0000 (0:00:00.040) 0:00:25.806 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:10 +0000 (0:00:00.023) 0:00:25.830 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:10 +0000 (0:00:00.025) 0:00:25.855 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:10 +0000 (0:00:00.038) 0:00:25.893 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:10 +0000 (0:00:00.031) 0:00:25.925 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:11 +0000 (0:00:00.045) 0:00:25.971 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:11 +0000 (0:00:00.028) 0:00:25.999 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:11 +0000 (0:00:00.025) 0:00:26.025 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:11 +0000 (0:00:00.026) 0:00:26.051 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:11 +0000 (0:00:00.022) 0:00:26.074 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:11 +0000 (0:00:00.028) 0:00:26.103 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:11 +0000 (0:00:00.226) 0:00:26.329 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmp1dg37mha" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:11 +0000 (0:00:00.231) 0:00:26.561 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:12 +0000 (0:00:00.391) 0:00:26.952 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:12 +0000 (0:00:00.060) 0:00:27.012 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:12 +0000 (0:00:00.050) 0:00:27.063 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:12 +0000 (0:00:00.026) 0:00:27.089 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:12 +0000 (0:00:00.031) 0:00:27.121 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:12 +0000 (0:00:00.149) 0:00:27.270 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:12 +0000 (0:00:00.030) 0:00:27.301 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:12 +0000 (0:00:00.036) 0:00:27.337 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:12 +0000 (0:00:00.090) 0:00:27.428 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:12 +0000 (0:00:00.063) 0:00:27.492 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:12 +0000 (0:00:00.025) 0:00:27.517 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:12 +0000 (0:00:00.032) 0:00:27.550 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:13 +0000 (0:00:00.657) 0:00:28.207 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:14 +0000 (0:00:00.906) 0:00:29.114 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:14 +0000 (0:00:00.022) 0:00:29.136 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:14 +0000 (0:00:00.021) 0:00:29.157 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:14 +0000 (0:00:00.021) 0:00:29.179 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:14 +0000 (0:00:00.021) 0:00:29.200 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:14 +0000 (0:00:00.027) 0:00:29.227 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:14 +0000 (0:00:00.025) 0:00:29.253 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:14 +0000 (0:00:00.049) 0:00:29.303 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:14 +0000 (0:00:00.024) 0:00:29.327 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:14 +0000 (0:00:00.027) 0:00:29.355 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:14 +0000 (0:00:00.029) 0:00:29.385 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:14 +0000 (0:00:00.022) 0:00:29.407 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:14 +0000 (0:00:00.025) 0:00:29.432 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:14 +0000 (0:00:00.259) 0:00:29.692 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpt1mxxu9n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:14 +0000 (0:00:00.239) 0:00:29.932 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:15 +0000 (0:00:00.452) 0:00:30.384 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:15 +0000 (0:00:00.023) 0:00:30.408 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:15 +0000 (0:00:00.028) 0:00:30.436 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:15 +0000 (0:00:00.042) 0:00:30.479 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:15 +0000 (0:00:00.037) 0:00:30.516 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:15 +0000 (0:00:00.177) 0:00:30.694 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:39:15 +0000 (0:00:00.044) 0:00:30.739 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:15 +0000 (0:00:00.041) 0:00:30.780 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:15 +0000 (0:00:00.041) 0:00:30.822 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:15 +0000 (0:00:00.027) 0:00:30.850 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:15 +0000 (0:00:00.054) 0:00:30.904 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:15 +0000 (0:00:00.038) 0:00:30.942 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:16 +0000 (0:00:00.656) 0:00:31.599 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:17 +0000 (0:00:00.853) 0:00:32.453 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:17 +0000 (0:00:00.023) 0:00:32.477 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:17 +0000 (0:00:00.027) 0:00:32.504 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:17 +0000 (0:00:00.027) 0:00:32.532 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:17 +0000 (0:00:00.023) 0:00:32.555 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:17 +0000 (0:00:00.025) 0:00:32.581 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:17 +0000 (0:00:00.038) 0:00:32.620 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:17 +0000 (0:00:00.077) 0:00:32.698 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:17 +0000 (0:00:00.023) 0:00:32.721 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:17 +0000 (0:00:00.029) 0:00:32.750 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:17 +0000 (0:00:00.035) 0:00:32.786 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:17 +0000 (0:00:00.033) 0:00:32.819 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:17 +0000 (0:00:00.036) 0:00:32.856 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:18 +0000 (0:00:00.255) 0:00:33.111 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpkax8awyz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:18 +0000 (0:00:00.284) 0:00:33.395 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:18 +0000 (0:00:00.294) 0:00:33.690 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:18 +0000 (0:00:00.032) 0:00:33.722 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:18 +0000 (0:00:00.028) 0:00:33.751 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:18 +0000 (0:00:00.051) 0:00:33.802 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:18 +0000 (0:00:00.049) 0:00:33.852 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:19 +0000 (0:00:00.153) 0:00:34.006 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.051) 0:00:34.057 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.070) 0:00:34.128 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635155.3479726, "block_size": 4096, "blocks": 0, "ctime": 1718635155.3439727, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1718635155.3439727, "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-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:39:19 +0000 (0:00:00.176) 0:00:34.304 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.044) 0:00:34.349 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.090) 0:00:34.440 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:19 +0000 (0:00:00.034) 0:00:34.475 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:19 +0000 (0:00:00.142) 0:00:34.618 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:19 +0000 (0:00:00.026) 0:00:34.644 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018390", "end": "2024-06-17 14:39:19.841041", "rc": 1, "start": "2024-06-17 14:39:19.822651" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:19 +0000 (0:00:00.178) 0:00:34.823 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:19 +0000 (0:00:00.026) 0:00:34.850 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:19 +0000 (0:00:00.035) 0:00:34.885 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:19 +0000 (0:00:00.034) 0:00:34.919 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:20 +0000 (0:00:00.037) 0:00:34.956 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:20 +0000 (0:00:00.025) 0:00:34.981 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:20 +0000 (0:00:00.037) 0:00:35.019 *********** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:20 +0000 (0:00:00.028) 0:00:35.048 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:20 +0000 (0:00:00.047) 0:00:35.095 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:20 +0000 (0:00:00.097) 0:00:35.193 *********** 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.042398", "end": "2024-06-17 14:39:20.391291", "rc": 0, "start": "2024-06-17 14:39:20.348893" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:103 Monday 17 June 2024 14:39:20 +0000 (0:00:00.200) 0:00:35.393 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:20 +0000 (0:00:00.066) 0:00:35.460 *********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:20 +0000 (0:00:00.029) 0:00:35.489 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:20 +0000 (0:00:00.078) 0:00:35.568 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:20 +0000 (0:00:00.091) 0:00:35.660 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:20 +0000 (0:00:00.045) 0:00:35.705 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004296", "end": "2024-06-17 14:39:21.884651", "rc": 0, "start": "2024-06-17 14:39:20.880355" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:21 +0000 (0:00:01.165) 0:00:36.870 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:21 +0000 (0:00:00.061) 0:00:36.932 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:22 +0000 (0:00:00.032) 0:00:36.964 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:22 +0000 (0:00:00.087) 0:00:37.052 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:22 +0000 (0:00:00.050) 0:00:37.102 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:22 +0000 (0:00:00.051) 0:00:37.153 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:22 +0000 (0:00:00.029) 0:00:37.183 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:22 +0000 (0:00:00.024) 0:00:37.207 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:22 +0000 (0:00:00.025) 0:00:37.232 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:22 +0000 (0:00:00.650) 0:00:37.882 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:23 +0000 (0:00:00.875) 0:00:38.758 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:23 +0000 (0:00:00.023) 0:00:38.781 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:23 +0000 (0:00:00.034) 0:00:38.815 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:23 +0000 (0:00:00.032) 0:00:38.848 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:23 +0000 (0:00:00.024) 0:00:38.873 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:23 +0000 (0:00:00.034) 0:00:38.907 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:23 +0000 (0:00:00.035) 0:00:38.943 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:24 +0000 (0:00:00.048) 0:00:38.991 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:24 +0000 (0:00:00.031) 0:00:39.023 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:24 +0000 (0:00:00.029) 0:00:39.052 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:24 +0000 (0:00:00.028) 0:00:39.081 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:24 +0000 (0:00:00.030) 0:00:39.111 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:24 +0000 (0:00:00.023) 0:00:39.134 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:24 +0000 (0:00:00.240) 0:00:39.375 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpsvxmismt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:24 +0000 (0:00:00.245) 0:00:39.621 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:24 +0000 (0:00:00.231) 0:00:39.853 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:24 +0000 (0:00:00.024) 0:00:39.877 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:24 +0000 (0:00:00.058) 0:00:39.935 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:25 +0000 (0:00:00.024) 0:00:39.960 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:25 +0000 (0:00:00.022) 0:00:39.982 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:25 +0000 (0:00:00.128) 0:00:40.110 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:25 +0000 (0:00:00.025) 0:00:40.135 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:25 +0000 (0:00:00.041) 0:00:40.176 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:25 +0000 (0:00:00.062) 0:00:40.239 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:25 +0000 (0:00:00.031) 0:00:40.270 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:25 +0000 (0:00:00.027) 0:00:40.297 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:25 +0000 (0:00:00.033) 0:00:40.331 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:26 +0000 (0:00:00.633) 0:00:40.965 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:26 +0000 (0:00:00.899) 0:00:41.864 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:26 +0000 (0:00:00.034) 0:00:41.899 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:26 +0000 (0:00:00.022) 0:00:41.922 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:26 +0000 (0:00:00.022) 0:00:41.944 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:27 +0000 (0:00:00.022) 0:00:41.967 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:27 +0000 (0:00:00.027) 0:00:41.994 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:27 +0000 (0:00:00.031) 0:00:42.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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:27 +0000 (0:00:00.066) 0:00:42.092 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:27 +0000 (0:00:00.039) 0:00:42.131 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:27 +0000 (0:00:00.026) 0:00:42.158 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:27 +0000 (0:00:00.026) 0:00:42.185 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:27 +0000 (0:00:00.023) 0:00:42.208 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:27 +0000 (0:00:00.025) 0:00:42.233 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:27 +0000 (0:00:00.224) 0:00:42.458 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmp991lekk_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:27 +0000 (0:00:00.280) 0:00:42.738 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:28 +0000 (0:00:00.454) 0:00:43.192 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:28 +0000 (0:00:00.021) 0:00:43.214 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:28 +0000 (0:00:00.026) 0:00:43.241 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:28 +0000 (0:00:00.025) 0:00:43.266 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:28 +0000 (0:00:00.047) 0:00:43.314 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:39:28 +0000 (0:00:00.136) 0:00:43.451 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:28 +0000 (0:00:00.037) 0:00:43.488 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:28 +0000 (0:00:00.044) 0:00:43.533 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:28 +0000 (0:00:00.030) 0:00:43.564 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:28 +0000 (0:00:00.024) 0:00:43.589 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:28 +0000 (0:00:00.022) 0:00:43.611 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:29 +0000 (0:00:00.667) 0:00:44.279 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:30 +0000 (0:00:00.874) 0:00:45.153 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:30 +0000 (0:00:00.036) 0:00:45.190 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:30 +0000 (0:00:00.023) 0:00:45.213 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:30 +0000 (0:00:00.021) 0:00:45.235 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:30 +0000 (0:00:00.023) 0:00:45.259 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:30 +0000 (0:00:00.042) 0:00:45.301 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:30 +0000 (0:00:00.028) 0:00:45.330 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:30 +0000 (0:00:00.049) 0:00:45.379 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:30 +0000 (0:00:00.021) 0:00:45.401 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:30 +0000 (0:00:00.024) 0:00:45.426 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:30 +0000 (0:00:00.027) 0:00:45.453 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:30 +0000 (0:00:00.095) 0:00:45.549 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:30 +0000 (0:00:00.025) 0:00:45.574 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:30 +0000 (0:00:00.256) 0:00:45.830 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmp7lvw85s2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:31 +0000 (0:00:00.266) 0:00:46.097 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:31 +0000 (0:00:00.270) 0:00:46.367 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:31 +0000 (0:00:00.024) 0:00:46.392 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:31 +0000 (0:00:00.026) 0:00:46.418 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:31 +0000 (0:00:00.056) 0:00:46.474 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:31 +0000 (0:00:00.034) 0:00:46.509 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:31 +0000 (0:00:00.140) 0:00:46.649 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:31 +0000 (0:00:00.075) 0:00:46.725 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:31 +0000 (0:00:00.067) 0:00:46.792 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:31 +0000 (0:00:00.105) 0:00:46.898 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:31 +0000 (0:00:00.029) 0:00:46.928 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:32 +0000 (0:00:00.024) 0:00:46.952 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:32 +0000 (0:00:00.022) 0:00:46.974 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:32 +0000 (0:00:00.638) 0:00:47.613 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:33 +0000 (0:00:00.849) 0:00:48.463 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:33 +0000 (0:00:00.024) 0:00:48.487 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:33 +0000 (0:00:00.023) 0:00:48.510 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:33 +0000 (0:00:00.023) 0:00:48.534 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:33 +0000 (0:00:00.024) 0:00:48.559 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:33 +0000 (0:00:00.030) 0:00:48.589 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:33 +0000 (0:00:00.067) 0:00:48.656 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:33 +0000 (0:00:00.062) 0:00:48.718 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:33 +0000 (0:00:00.025) 0:00:48.744 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:33 +0000 (0:00:00.037) 0:00:48.781 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:33 +0000 (0:00:00.027) 0:00:48.809 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:33 +0000 (0:00:00.024) 0:00:48.833 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:33 +0000 (0:00:00.021) 0:00:48.855 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:34 +0000 (0:00:00.223) 0:00:49.079 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmphpq_q9f_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:34 +0000 (0:00:00.213) 0:00:49.293 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:34 +0000 (0:00:00.231) 0:00:49.524 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:34 +0000 (0:00:00.023) 0:00:49.548 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:34 +0000 (0:00:00.035) 0:00:49.584 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:34 +0000 (0:00:00.027) 0:00:49.611 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:34 +0000 (0:00:00.025) 0:00:49.636 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:34 +0000 (0:00:00.148) 0:00:49.784 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.068) 0:00:49.852 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.039) 0:00:49.892 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:34 +0000 (0:00:00.027) 0:00:49.919 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:35 +0000 (0:00:00.133) 0:00:50.052 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:35 +0000 (0:00:00.023) 0:00:50.076 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019945", "end": "2024-06-17 14:39:35.247118", "rc": 1, "start": "2024-06-17 14:39:35.227173" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:35 +0000 (0:00:00.157) 0:00:50.233 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:35 +0000 (0:00:00.031) 0:00:50.264 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:35 +0000 (0:00:00.024) 0:00:50.289 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:35 +0000 (0:00:00.026) 0:00:50.315 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:35 +0000 (0:00:00.024) 0:00:50.339 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:35 +0000 (0:00:00.028) 0:00:50.368 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:35 +0000 (0:00:00.054) 0:00:50.422 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:35 +0000 (0:00:00.040) 0:00:50.463 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:35 +0000 (0:00:00.026) 0:00:50.489 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.041) 0:00:50.531 *********** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042489", "end": "2024-06-17 14:39:35.737290", "rc": 0, "start": "2024-06-17 14:39:35.694801" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:126 Monday 17 June 2024 14:39:35 +0000 (0:00:00.243) 0:00:50.775 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:35 +0000 (0:00:00.046) 0:00:50.821 *********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:35 +0000 (0:00:00.024) 0:00:50.846 *********** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:35 +0000 (0:00:00.052) 0:00:50.898 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.051) 0:00:50.950 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:36 +0000 (0:00:00.046) 0:00:50.997 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-06-17 14:39:36.156097", "rc": 0, "start": "2024-06-17 14:39:36.152839" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:36 +0000 (0:00:00.135) 0:00:51.132 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:36 +0000 (0:00:00.025) 0:00:51.158 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:36 +0000 (0:00:00.037) 0:00:51.196 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:36 +0000 (0:00:00.052) 0:00:51.249 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:36 +0000 (0:00:00.037) 0:00:51.287 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:36 +0000 (0:00:00.041) 0:00:51.328 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:36 +0000 (0:00:00.063) 0:00:51.391 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:36 +0000 (0:00:00.023) 0:00:51.415 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:36 +0000 (0:00:00.024) 0:00:51.439 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:37 +0000 (0:00:00.644) 0:00:52.084 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:37 +0000 (0:00:00.853) 0:00:52.938 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:38 +0000 (0:00:00.031) 0:00:52.970 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:38 +0000 (0:00:00.023) 0:00:52.993 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:38 +0000 (0:00:00.024) 0:00:53.017 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:38 +0000 (0:00:00.024) 0:00:53.042 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:38 +0000 (0:00:00.028) 0:00:53.071 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:38 +0000 (0:00:00.035) 0:00:53.106 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:38 +0000 (0:00:00.078) 0:00:53.185 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:38 +0000 (0:00:00.034) 0:00:53.219 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:38 +0000 (0:00:00.032) 0:00:53.251 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:38 +0000 (0:00:00.054) 0:00:53.305 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:38 +0000 (0:00:00.034) 0:00:53.340 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:38 +0000 (0:00:00.024) 0:00:53.364 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:38 +0000 (0:00:00.233) 0:00:53.598 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpya3f1aid" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:38 +0000 (0:00:00.254) 0:00:53.853 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:39 +0000 (0:00:00.256) 0:00:54.109 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:39 +0000 (0:00:00.025) 0:00:54.134 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:39 +0000 (0:00:00.067) 0:00:54.202 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:39 +0000 (0:00:00.042) 0:00:54.245 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:39 +0000 (0:00:00.058) 0:00:54.303 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:39 +0000 (0:00:00.148) 0:00:54.452 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:39 +0000 (0:00:00.055) 0:00:54.510 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:39 +0000 (0:00:00.099) 0:00:54.610 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:39 +0000 (0:00:00.041) 0:00:54.651 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:39 +0000 (0:00:00.026) 0:00:54.677 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:39 +0000 (0:00:00.021) 0:00:54.699 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:39 +0000 (0:00:00.022) 0:00:54.721 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:40 +0000 (0:00:00.639) 0:00:55.361 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:41 +0000 (0:00:00.874) 0:00:56.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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:41 +0000 (0:00:00.041) 0:00:56.277 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:41 +0000 (0:00:00.050) 0:00:56.327 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:41 +0000 (0:00:00.060) 0:00:56.388 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:41 +0000 (0:00:00.111) 0:00:56.499 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:41 +0000 (0:00:00.028) 0:00:56.527 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:41 +0000 (0:00:00.046) 0:00:56.573 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:41 +0000 (0:00:00.049) 0:00:56.623 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:41 +0000 (0:00:00.026) 0:00:56.649 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:41 +0000 (0:00:00.024) 0:00:56.673 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:41 +0000 (0:00:00.042) 0:00:56.716 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:41 +0000 (0:00:00.024) 0:00:56.740 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:41 +0000 (0:00:00.033) 0:00:56.774 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:42 +0000 (0:00:00.222) 0:00:56.997 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmp4hjomquu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:42 +0000 (0:00:00.218) 0:00:57.216 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:42 +0000 (0:00:00.450) 0:00:57.666 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:42 +0000 (0:00:00.023) 0:00:57.690 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:42 +0000 (0:00:00.024) 0:00:57.714 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:42 +0000 (0:00:00.027) 0:00:57.742 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:42 +0000 (0:00:00.056) 0:00:57.798 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:42 +0000 (0:00:00.123) 0:00:57.922 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:43 +0000 (0:00:00.036) 0:00:57.958 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:43 +0000 (0:00:00.040) 0:00:57.998 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:43 +0000 (0:00:00.027) 0:00:58.026 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:43 +0000 (0:00:00.021) 0:00:58.048 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:43 +0000 (0:00:00.024) 0:00:58.072 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:43 +0000 (0:00:00.647) 0:00:58.720 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:44 +0000 (0:00:00.908) 0:00:59.628 *********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:44 +0000 (0:00:00.024) 0:00:59.653 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:44 +0000 (0:00:00.025) 0:00:59.679 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:44 +0000 (0:00:00.042) 0:00:59.721 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:44 +0000 (0:00:00.030) 0:00:59.752 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:44 +0000 (0:00:00.054) 0:00:59.807 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:44 +0000 (0:00:00.056) 0:00:59.863 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:44 +0000 (0:00:00.074) 0:00:59.937 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:45 +0000 (0:00:00.039) 0:00:59.977 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:45 +0000 (0:00:00.024) 0:01:00.002 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:45 +0000 (0:00:00.048) 0:01:00.051 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:45 +0000 (0:00:00.023) 0:01:00.074 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:45 +0000 (0:00:00.021) 0:01:00.096 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:45 +0000 (0:00:00.228) 0:01:00.324 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpstd95qfv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:45 +0000 (0:00:00.246) 0:01:00.571 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:46 +0000 (0:00:00.393) 0:01:00.964 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:46 +0000 (0:00:00.058) 0:01:01.023 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:46 +0000 (0:00:00.092) 0:01:01.115 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:46 +0000 (0:00:00.030) 0:01:01.146 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:46 +0000 (0:00:00.022) 0:01:01.169 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:46 +0000 (0:00:00.166) 0:01:01.335 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:46 +0000 (0:00:00.066) 0:01:01.402 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:46 +0000 (0:00:00.038) 0:01:01.441 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:46 +0000 (0:00:00.068) 0:01:01.509 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:46 +0000 (0:00:00.043) 0:01:01.553 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:46 +0000 (0:00:00.034) 0:01:01.587 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:46 +0000 (0:00:00.046) 0:01:01.634 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:47 +0000 (0:00:00.666) 0:01:02.301 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:48 +0000 (0:00:00.931) 0:01:03.232 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:48 +0000 (0:00:00.041) 0:01:03.274 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:48 +0000 (0:00:00.023) 0:01:03.298 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:48 +0000 (0:00:00.026) 0:01:03.324 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:48 +0000 (0:00:00.026) 0:01:03.351 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:48 +0000 (0:00:00.028) 0:01:03.379 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:48 +0000 (0:00:00.030) 0:01:03.410 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:48 +0000 (0:00:00.048) 0:01:03.458 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:48 +0000 (0:00:00.023) 0:01:03.482 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:48 +0000 (0:00:00.023) 0:01:03.505 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:48 +0000 (0:00:00.027) 0:01:03.533 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:48 +0000 (0:00:00.037) 0:01:03.570 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:48 +0000 (0:00:00.045) 0:01:03.616 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:48 +0000 (0:00:00.314) 0:01:03.930 *********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18222y22ueg6z/tmpdatj79wk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:49 +0000 (0:00:00.213) 0:01:04.144 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:49 +0000 (0:00:00.216) 0:01:04.360 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:49 +0000 (0:00:00.036) 0:01:04.396 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:49 +0000 (0:00:00.024) 0:01:04.421 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:49 +0000 (0:00:00.022) 0:01:04.444 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:49 +0000 (0:00:00.021) 0:01:04.466 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:49 +0000 (0:00:00.126) 0:01:04.593 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:49 +0000 (0:00:00.043) 0:01:04.636 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:49 +0000 (0:00:00.037) 0:01:04.674 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:49 +0000 (0:00:00.026) 0:01:04.700 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:49 +0000 (0:00:00.131) 0:01:04.831 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:49 +0000 (0:00:00.021) 0:01:04.853 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018515", "end": "2024-06-17 14:39:50.027981", "rc": 1, "start": "2024-06-17 14:39:50.009466" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:50 +0000 (0:00:00.152) 0:01:05.005 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:50 +0000 (0:00:00.067) 0:01:05.073 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:50 +0000 (0:00:00.023) 0:01:05.097 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:50 +0000 (0:00:00.027) 0:01:05.124 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:50 +0000 (0:00:00.024) 0:01:05.148 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:50 +0000 (0:00:00.031) 0:01:05.180 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 17 June 2024 14:39:50 +0000 (0:00:00.027) 0:01:05.208 *********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.618782", "end": "2024-06-17 14:39:50.993591", "rc": 0, "start": "2024-06-17 14:39:50.374809" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 17 June 2024 14:39:51 +0000 (0:00:00.764) 0:01:05.972 *********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 17 June 2024 14:39:51 +0000 (0:00:00.023) 0:01:05.995 *********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:51 +0000 (0:00:00.024) 0:01:06.020 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:51 +0000 (0:00:00.041) 0:01:06.061 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:51 +0000 (0:00:00.033) 0:01:06.094 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:51 +0000 (0:00:00.047) 0:01:06.142 *********** 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.042055", "end": "2024-06-17 14:39:51.340254", "rc": 0, "start": "2024-06-17 14:39:51.298199" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:39:51 +0000 (0:00:00.175) 0:01:06.317 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006744", "end": "2024-06-17 14:39:51.477661", "rc": 0, "start": "2024-06-17 14:39:51.470917" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:e6:77:93:68:5f brd ff:ff:ff:ff:ff:ff inet 10.31.10.222/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3154sec preferred_lft 3154sec inet6 fe80::10e6:77ff:fe93:685f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.222 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:39:51 +0000 (0:00:00.134) 0:01:06.451 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.697272", "end": "2024-06-17 14:39:52.330209", "rc": 0, "start": "2024-06-17 14:39:51.632937" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1152 0 --:--:-- --:--:-- --:--:-- 1155 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 716 0 --:--:-- --:--:-- --:--:-- 716 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=13 unreachable=0 failed=0 skipped=270 rescued=0 ignored=10 Monday 17 June 2024 14:39:52 +0000 (0:00:00.857) 0:01:07.308 *********** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Configure networking connection profiles --- 1.49s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable network service --------------------- 1.30s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.29s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.14s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 -- linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---