# 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_nm.yml ************************************************** 2 plays in /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tests_states_nm.yml:6 Wednesday 24 July 2024 19:11:07 +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-team-test-not-cleaning-up-properly1ilrgcv9/tests/tests_states_nm.yml:9 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.702) 0:00:00.715 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.032) 0:00:00.748 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.270) 0:00:01.019 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.236) 0:00:01.255 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.035) 0:00:01.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.033) 0:00:01.324 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.068) 0:00:01.393 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 19:11:08 +0000 (0:00:00.215) 0:00:01.608 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 19:11:09 +0000 (0:00:00.473) 0:00:02.082 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.162874", "end": "2024-07-24 19:11:09.710945", "rc": 0, "start": "2024-07-24 19:11:09.548071" } 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 19:11:09 +0000 (0:00:00.317) 0:00:02.400 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 19:11:09 +0000 (0:00:00.036) 0:00:02.436 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/tests_states_nm.yml:11 Wednesday 24 July 2024 19:11:09 +0000 (0:00:00.030) 0:00:02.467 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 19:11:09 +0000 (0:00:00.034) 0:00:02.501 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.480) 0:00:02.981 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.042) 0:00:03.024 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.134) 0:00:03.158 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.035) 0:00:03.194 ******** 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": true, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.053) 0:00:03.247 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.037) 0:00:03.285 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.020) 0:00:03.305 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2024-07-24 19:11:10.794738", "rc": 0, "start": "2024-07-24 19:11:10.791359" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.187) 0:00:03.493 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.019) 0:00:03.512 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.014) 0:00:03.526 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 19:11:10 +0000 (0:00:00.049) 0:00:03.576 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013290", "end": "2024-07-24 19:11:11.075599", "rc": 1, "start": "2024-07-24 19:11:11.062309" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.166) 0:00:03.742 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.030) 0:00:03.773 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.142) 0:00:03.915 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.028) 0:00:03.944 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.026) 0:00:03.971 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.096) 0:00:04.067 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.031) 0:00:04.098 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.010) 0:00:04.109 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.009) 0:00:04.119 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:11 +0000 (0:00:00.010) 0:00:04.130 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:12 +0000 (0:00:00.725) 0:00:04.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 : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.973) 0:00:05.828 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.028) 0:00:05.857 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.055) 0:00:05.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.027) 0:00:05.939 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.031) 0:00:05.971 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.036) 0:00:06.007 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.042) 0:00:06.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.031) 0:00:06.082 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.068) 0:00:06.150 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.021) 0:00:06.172 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.025) 0:00:06.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.040) 0:00:06.237 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:13 +0000 (0:00:00.402) 0:00:06.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.028) 0:00:06.668 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.021) 0:00:06.690 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.024) 0:00:06.715 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.475) 0:00:07.190 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.055) 0:00:07.246 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.038) 0:00:07.285 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.041) 0:00:07.327 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.054) 0:00:07.381 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.191) 0:00:07.573 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dcfe49cb-9835-403e-993f-510e36493110" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:11:14 +0000 (0:00:00.054) 0:00:07.627 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.047) 0:00:07.674 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.061) 0:00:07.736 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.068) 0:00:07.804 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848274.4269192, "block_size": 4096, "blocks": 8, "ctime": 1721848274.4249194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22538, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721848274.4249194, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.179) 0:00:07.984 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.057) 0:00:08.041 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024500", "end": "2024-07-24 19:11:15.521266", "rc": 0, "start": "2024-07-24 19:11:15.496766" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.180) 0:00:08.221 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.042) 0:00:08.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.038) 0:00:08.301 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.026) 0:00:08.327 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.025) 0:00:08.353 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.027) 0:00:08.381 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.025) 0:00:08.407 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.088) 0:00:08.495 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.060) 0:00:08.555 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 19:11:15 +0000 (0:00:00.081) 0:00:08.637 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.104) 0:00:08.741 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848274.4299195, "block_size": 4096, "blocks": 0, "ctime": 1721848274.4289193, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1721848274.4289193, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.159) 0:00:08.900 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.061) 0:00:08.962 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.068) 0:00:09.030 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.066) 0:00:09.097 ******** 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.073357", "end": "2024-07-24 19:11:16.663372", "rc": 1, "start": "2024-07-24 19:11:16.590015" } STDOUT: Connection 'statebr' (dcfe49cb-9835-403e-993f-510e36493110) successfully deleted. STDERR: (process:29516): GLib-GIO-WARNING **: 19:11:16.642: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/50 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.246) 0:00:09.343 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.053) 0:00:09.396 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.024) 0:00:09.420 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.088) 0:00:09.508 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:11:16 +0000 (0:00:00.074) 0:00:09.583 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.092) 0:00:09.675 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003341", "end": "2024-07-24 19:11:17.151177", "rc": 0, "start": "2024-07-24 19:11:17.147836" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.173) 0:00:09.849 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.024) 0:00:09.874 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.025) 0:00:09.899 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.048) 0:00:09.948 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006692", "end": "2024-07-24 19:11:17.408842", "rc": 1, "start": "2024-07-24 19:11:17.402150" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.146) 0:00:10.094 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.034) 0:00:10.129 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.160) 0:00:10.290 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.080) 0:00:10.370 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.040) 0:00:10.411 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.051) 0:00:10.462 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.085) 0:00:10.548 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.029) 0:00:10.577 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.022) 0:00:10.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:17 +0000 (0:00:00.021) 0:00:10.621 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:18 +0000 (0:00:00.685) 0:00:11.306 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.887) 0:00:12.194 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.037) 0:00:12.231 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.032) 0:00:12.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.026) 0:00:12.290 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.022) 0:00:12.312 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.027) 0:00:12.339 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.090) 0:00:12.430 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.051) 0:00:12.481 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.092) 0:00:12.573 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:19 +0000 (0:00:00.050) 0:00:12.624 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.026) 0:00:12.651 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.024) 0:00:12.675 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.225) 0:00:12.901 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.029) 0:00:12.931 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.021) 0:00:12.952 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.019) 0:00:12.972 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.287) 0:00:13.259 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.035) 0:00:13.295 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.029) 0:00:13.324 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.035) 0:00:13.360 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.029) 0:00:13.390 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.186) 0:00:13.577 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49a8468c-b85e-4309-b24f-0fa1a082f71b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:11:20 +0000 (0:00:00.069) 0:00:13.647 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.065) 0:00:13.712 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.044) 0:00:13.756 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.169) 0:00:13.926 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.038) 0:00:13.965 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.052) 0:00:14.018 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.042) 0:00:14.060 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848280.5679917, "block_size": 4096, "blocks": 8, "ctime": 1721848280.5679917, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22538, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721848280.5679917, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.182) 0:00:14.243 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.032) 0:00:14.275 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020604", "end": "2024-07-24 19:11:21.760458", "rc": 0, "start": "2024-07-24 19:11:21.739854" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.171) 0:00:14.446 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.062) 0:00:14.508 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.036) 0:00:14.545 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.027) 0:00:14.572 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:11:21 +0000 (0:00:00.035) 0:00:14.607 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.076) 0:00:14.684 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.077) 0:00:14.761 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.050) 0:00:14.811 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.079) 0:00:14.890 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.050) 0:00:14.941 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.028) 0:00:14.970 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.051) 0:00:15.021 ******** 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.047969", "end": "2024-07-24 19:11:22.524458", "rc": 1, "start": "2024-07-24 19:11:22.476489" } STDOUT: Connection 'statebr' (49a8468c-b85e-4309-b24f-0fa1a082f71b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.219) 0:00:15.240 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.149) 0:00:15.390 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.103) 0:00:15.493 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.099) 0:00:15.593 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:11:22 +0000 (0:00:00.055) 0:00:15.648 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.087) 0:00:15.735 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003350", "end": "2024-07-24 19:11:23.322316", "rc": 0, "start": "2024-07-24 19:11:23.318966" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.313) 0:00:16.049 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.070) 0:00:16.119 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.079) 0:00:16.199 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.089) 0:00:16.288 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.037) 0:00:16.326 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.086) 0:00:16.412 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.059) 0:00:16.472 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.047) 0:00:16.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:23 +0000 (0:00:00.032) 0:00:16.552 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:24 +0000 (0:00:00.700) 0:00:17.252 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.855) 0:00:18.108 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.034) 0:00:18.142 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.053) 0:00:18.195 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.046) 0:00:18.242 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.039) 0:00:18.282 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.041) 0:00:18.323 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.036) 0:00:18.360 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.035) 0:00:18.396 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.053) 0:00:18.450 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.046) 0:00:18.496 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.050) 0:00:18.546 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:25 +0000 (0:00:00.031) 0:00:18.578 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.225) 0:00:18.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.030) 0:00:18.834 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.069) 0:00:18.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.030) 0:00:18.934 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.323) 0:00:19.258 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.040) 0:00:19.298 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.024) 0:00:19.323 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.045) 0:00:19.369 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.058) 0:00:19.427 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.161) 0:00:19.588 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:11:26 +0000 (0:00:00.040) 0:00:19.629 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.082) 0:00:19.712 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.076) 0:00:19.789 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.096) 0:00:19.885 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.042) 0:00:19.927 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.061) 0:00:19.989 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:27 +0000 (0:00:00.024) 0:00:20.013 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:28 +0000 (0:00:00.736) 0:00:20.750 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:29 +0000 (0:00:01.166) 0:00:21.916 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.059) 0:00:21.975 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.043) 0:00:22.018 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.047) 0:00:22.066 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.048) 0:00:22.114 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.040) 0:00:22.155 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.038) 0:00:22.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.082) 0:00:22.276 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.132) 0:00:22.408 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.046) 0:00:22.455 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.043) 0:00:22.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:29 +0000 (0:00:00.047) 0:00:22.546 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.365) 0:00:22.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.071) 0:00:22.983 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.066) 0:00:23.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.043) 0:00:23.093 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.342) 0:00:23.436 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.065) 0:00:23.501 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.041) 0:00:23.542 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aed26583-1a63-413f-9988-f1bbebec86a0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:30 +0000 (0:00:00.073) 0:00:23.616 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.038) 0:00:23.654 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.242) 0:00:23.897 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.066) 0:00:23.964 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.063) 0:00:24.027 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848286.5340621, "block_size": 4096, "blocks": 0, "ctime": 1721848286.5290623, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1721848286.5290623, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.228) 0:00:24.255 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.096) 0:00:24.352 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:11:31 +0000 (0:00:00.196) 0:00:24.549 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.103) 0:00:24.652 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848286.528062, "block_size": 4096, "blocks": 8, "ctime": 1721848286.5270622, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22538, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721848286.5270622, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.165) 0:00:24.818 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.036) 0:00:24.854 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024125", "end": "2024-07-24 19:11:32.379905", "rc": 0, "start": "2024-07-24 19:11:32.355780" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.234) 0:00:25.089 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.057) 0:00:25.146 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.032) 0:00:25.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.033) 0:00:25.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.051) 0:00:25.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.024) 0:00:25.288 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.034) 0:00:25.323 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.026) 0:00:25.349 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.027) 0:00:25.376 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.045) 0:00:25.422 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.047) 0:00:25.469 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:11:32 +0000 (0:00:00.040) 0:00:25.510 ******** 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.074484", "end": "2024-07-24 19:11:33.056925", "rc": 1, "start": "2024-07-24 19:11:32.982441" } STDOUT: Connection 'statebr' (aed26583-1a63-413f-9988-f1bbebec86a0) successfully deleted. STDERR: (process:30234): GLib-GIO-WARNING **: 19:11:33.038: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/51 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.221) 0:00:25.731 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.037) 0:00:25.769 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.023) 0:00:25.793 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.078) 0:00:25.871 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.035) 0:00:25.907 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.033) 0:00:25.940 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-07-24 19:11:33.400725", "rc": 0, "start": "2024-07-24 19:11:33.397381" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.154) 0:00:26.094 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.024) 0:00:26.118 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.042) 0:00:26.161 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.052) 0:00:26.213 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.039) 0:00:26.253 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.054) 0:00:26.308 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.056) 0:00:26.364 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.043) 0:00:26.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:33 +0000 (0:00:00.064) 0:00:26.472 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:34 +0000 (0:00:00.710) 0:00:27.182 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:35 +0000 (0:00:01.063) 0:00:28.246 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.043) 0:00:28.289 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.049) 0:00:28.339 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.082) 0:00:28.421 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.081) 0:00:28.502 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.035) 0:00:28.538 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.065) 0:00:28.604 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:35 +0000 (0:00:00.044) 0:00:28.648 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.083) 0:00:28.732 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.055) 0:00:28.787 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.115) 0:00:28.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.048) 0:00:28.951 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.252) 0:00:29.204 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.025) 0:00:29.229 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.030) 0:00:29.260 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.036) 0:00:29.296 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:36 +0000 (0:00:00.333) 0:00:29.629 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.022) 0:00:29.652 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.100) 0:00:29.752 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.024) 0:00:29.777 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.021) 0:00:29.799 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.149) 0:00:29.949 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 596ca32a-c727-4083-844e-9cd574be940d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.033) 0:00:29.982 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.038) 0:00:30.021 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.048) 0:00:30.069 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.071) 0:00:30.141 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.040) 0:00:30.181 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:37 +0000 (0:00:00.036) 0:00:30.218 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:38 +0000 (0:00:00.686) 0:00:30.905 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:39 +0000 (0:00:01.095) 0:00:32.000 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.040) 0:00:32.040 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.057) 0:00:32.097 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.031) 0:00:32.129 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.021) 0:00:32.151 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.020) 0:00:32.171 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.025) 0:00:32.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.040) 0:00:32.237 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.064) 0:00:32.302 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.094) 0:00:32.397 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.049) 0:00:32.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:39 +0000 (0:00:00.044) 0:00:32.492 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.347) 0:00:32.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.037) 0:00:32.877 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.032) 0:00:32.909 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.055) 0:00:32.965 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 596ca32a-c727-4083-844e-9cd574be940d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.426) 0:00:33.392 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.117) 0:00:33.509 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 596ca32a-c727-4083-844e-9cd574be940d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.031) 0:00:33.540 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 596ca32a-c727-4083-844e-9cd574be940d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 596ca32a-c727-4083-844e-9cd574be940d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.069) 0:00:33.610 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:40 +0000 (0:00:00.031) 0:00:33.641 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.183) 0:00:33.824 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.108) 0:00:33.933 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.090) 0:00:34.023 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.061) 0:00:34.085 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.059) 0:00:34.144 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.042) 0:00:34.187 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:41 +0000 (0:00:00.044) 0:00:34.231 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:42 +0000 (0:00:00.668) 0:00:34.900 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.953) 0:00:35.853 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.044) 0:00:35.898 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.031) 0:00:35.929 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.023) 0:00:35.952 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.031) 0:00:35.984 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.046) 0:00:36.030 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.050) 0:00:36.080 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.070) 0:00:36.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.080) 0:00:36.231 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.040) 0:00:36.272 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.032) 0:00:36.304 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:43 +0000 (0:00:00.034) 0:00:36.339 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.315) 0:00:36.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.052) 0:00:36.707 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.032) 0:00:36.739 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.025) 0:00:36.764 ******** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.386) 0:00:37.151 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.047) 0:00:37.199 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.037) 0:00:37.236 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.024) 0:00:37.261 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.031) 0:00:37.292 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.159) 0:00:37.451 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.069) 0:00:37.521 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:11:44 +0000 (0:00:00.035) 0:00:37.556 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721848296.9051845, "block_size": 4096, "blocks": 0, "ctime": 1721848296.8951845, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17769, "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": 1721848296.8951845, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.163) 0:00:37.719 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.024) 0:00:37.744 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.070) 0:00:37.815 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.027) 0:00:37.843 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.180) 0:00:38.024 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.042) 0:00:38.066 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018901", "end": "2024-07-24 19:11:45.566270", "rc": 1, "start": "2024-07-24 19:11:45.547369" } 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.246) 0:00:38.313 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.076) 0:00:38.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.052) 0:00:38.442 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.060) 0:00:38.502 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:11:45 +0000 (0:00:00.071) 0:00:38.574 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.080) 0:00:38.654 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.039) 0:00:38.693 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.022) 0:00:38.716 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.041) 0:00:38.758 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.091) 0:00:38.849 ******** 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.082536", "end": "2024-07-24 19:11:46.418916", "rc": 1, "start": "2024-07-24 19:11:46.336380" } STDOUT: Connection 'statebr' (596ca32a-c727-4083-844e-9cd574be940d) successfully deleted. STDERR: (process:30858): GLib-GIO-WARNING **: 19:11:46.402: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/52 but no object proxy exists (process:30858): GLib-GIO-WARNING **: 19:11:46.402: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/92 but no object proxy exists (process:30858): GLib-GIO-WARNING **: 19:11:46.402: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/59 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:103 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.278) 0:00:39.127 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.088) 0:00:39.216 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.027) 0:00:39.243 ******** 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": true, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.048) 0:00:39.292 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.067) 0:00:39.360 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.080) 0:00:39.440 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2024-07-24 19:11:46.907360", "rc": 0, "start": "2024-07-24 19:11:46.903825" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:11:46 +0000 (0:00:00.187) 0:00:39.627 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.045) 0:00:39.673 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.030) 0:00:39.704 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.102) 0:00:39.807 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.071) 0:00:39.878 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.066) 0:00:39.945 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.054) 0:00:39.999 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.047) 0:00:40.047 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:47 +0000 (0:00:00.055) 0:00:40.102 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:48 +0000 (0:00:00.786) 0:00:40.889 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.979) 0:00:41.869 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.025) 0:00:41.894 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.026) 0:00:41.920 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.039) 0:00:41.960 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.048) 0:00:42.008 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.025) 0:00:42.033 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.037) 0:00:42.071 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.047) 0:00:42.119 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.059) 0:00:42.179 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.055) 0:00:42.234 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.043) 0:00:42.278 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:49 +0000 (0:00:00.048) 0:00:42.327 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.330) 0:00:42.657 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.041) 0:00:42.698 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.068) 0:00:42.767 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.138) 0:00:42.905 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.434) 0:00:43.339 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.027) 0:00:43.367 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.035) 0:00:43.402 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.036) 0:00:43.439 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:50 +0000 (0:00:00.036) 0:00:43.475 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.181) 0:00:43.656 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.045) 0:00:43.702 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.094) 0:00:43.797 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.100) 0:00:43.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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.046) 0:00:43.944 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.040) 0:00:43.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:51 +0000 (0:00:00.038) 0:00:44.022 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:52 +0000 (0:00:00.717) 0:00:44.739 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:52 +0000 (0:00:00.899) 0:00:45.639 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.027) 0:00:45.666 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.022) 0:00:45.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.020) 0:00:45.709 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.030) 0:00:45.739 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.025) 0:00:45.765 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.041) 0:00:45.807 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.028) 0:00:45.835 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.060) 0:00:45.896 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.058) 0:00:45.954 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.073) 0:00:46.028 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.054) 0:00:46.082 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.270) 0:00:46.353 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.048) 0:00:46.401 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.056) 0:00:46.458 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:53 +0000 (0:00:00.032) 0:00:46.490 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.339) 0:00:46.830 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.051) 0:00:46.881 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.025) 0:00:46.907 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9574f642-9f6a-4532-92a0-7609e885d4f2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.045) 0:00:46.953 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.026) 0:00:46.979 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.177) 0:00:47.157 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.061) 0:00:47.218 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.127) 0:00:47.345 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.040) 0:00:47.386 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.042) 0:00:47.428 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:54 +0000 (0:00:00.040) 0:00:47.469 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:55 +0000 (0:00:00.684) 0:00:48.154 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.925) 0:00:49.080 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.032) 0:00:49.113 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.035) 0:00:49.148 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.022) 0:00:49.171 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.032) 0:00:49.203 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.029) 0:00:49.233 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.048) 0:00:49.282 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.060) 0:00:49.342 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.094) 0:00:49.436 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.053) 0:00:49.490 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.050) 0:00:49.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:11:56 +0000 (0:00:00.033) 0:00:49.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.282) 0:00:49.856 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.025) 0:00:49.881 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.028) 0:00:49.910 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.066) 0:00:49.976 ******** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.311) 0:00:50.288 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.050) 0:00:50.339 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.057) 0:00:50.396 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.083) 0:00:50.480 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:11:57 +0000 (0:00:00.045) 0:00:50.525 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.180) 0:00:50.705 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.084) 0:00:50.790 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.057) 0:00:50.847 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.064) 0:00:50.911 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.045) 0:00:50.957 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.037) 0:00:50.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:11:58 +0000 (0:00:00.022) 0:00:51.017 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:11:59 +0000 (0:00:00.697) 0:00:51.715 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:11:59 +0000 (0:00:00.899) 0:00:52.614 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.045) 0:00:52.660 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.041) 0:00:52.701 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.023) 0:00:52.724 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.037) 0:00:52.762 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.022) 0:00:52.784 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.078) 0:00:52.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.042) 0:00:52.905 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.065) 0:00:52.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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.032) 0:00:53.004 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.029) 0:00:53.033 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.045) 0:00:53.079 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.398) 0:00:53.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.038) 0:00:53.516 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.035) 0:00:53.552 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:12:00 +0000 (0:00:00.039) 0:00:53.592 ******** 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.502) 0:00:54.094 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.116) 0:00:54.211 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.036) 0:00:54.247 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.076) 0:00:54.324 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.029) 0:00:54.353 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:12:01 +0000 (0:00:00.201) 0:00:54.554 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.115) 0:00:54.670 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.119) 0:00:54.789 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.060) 0:00:54.850 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.182) 0:00:55.032 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.036) 0:00:55.068 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018183", "end": "2024-07-24 19:12:02.595351", "rc": 1, "start": "2024-07-24 19:12:02.577168" } 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.281) 0:00:55.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.034) 0:00:55.384 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.060) 0:00:55.445 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.048) 0:00:55.493 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.051) 0:00:55.545 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 19:12:02 +0000 (0:00:00.052) 0:00:55.597 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.105) 0:00:55.702 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.098) 0:00:55.800 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.062) 0:00:55.863 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.157) 0:00:56.021 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.066) 0:00:56.087 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.083) 0:00:56.170 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.052) 0:00:56.223 ******** 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.041582", "end": "2024-07-24 19:12:03.734196", "rc": 1, "start": "2024-07-24 19:12:03.692614" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tests_states.yml:126 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.249) 0:00:56.473 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 19:12:03 +0000 (0:00:00.157) 0:00:56.630 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 19:12:04 +0000 (0:00:00.083) 0:00:56.714 ******** 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": true, "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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 19:12:04 +0000 (0:00:00.145) 0:00:56.860 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 19:12:04 +0000 (0:00:00.050) 0:00:56.911 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 19:12:04 +0000 (0:00:00.052) 0:00:56.964 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004517", "end": "2024-07-24 19:12:05.452149", "rc": 0, "start": "2024-07-24 19:12:04.447632" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 19:12:05 +0000 (0:00:01.181) 0:00:58.145 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.047) 0:00:58.193 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.043) 0:00:58.236 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.108) 0:00:58.345 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.065) 0:00:58.410 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.078) 0:00:58.488 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.029) 0:00:58.518 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.024) 0:00:58.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:12:05 +0000 (0:00:00.041) 0:00:58.584 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:12:06 +0000 (0:00:00.759) 0:00:59.344 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.917) 0:01:00.262 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.052) 0:01:00.314 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.037) 0:01:00.351 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.056) 0:01:00.408 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.052) 0:01:00.460 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.074) 0:01:00.534 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.034) 0:01:00.569 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:12:07 +0000 (0:00:00.050) 0:01:00.619 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.062) 0:01:00.682 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.113) 0:01:00.795 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.028) 0:01:00.824 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.039) 0:01:00.863 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.283) 0:01:01.147 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.035) 0:01:01.182 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.036) 0:01:01.219 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:12:08 +0000 (0:00:00.036) 0:01:01.256 ******** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.396) 0:01:01.652 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.030) 0:01:01.683 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.042) 0:01:01.726 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.046) 0:01:01.773 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.039) 0:01:01.813 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.147) 0:01:01.961 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.042) 0:01:02.003 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.083) 0:01:02.086 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.117) 0:01:02.204 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.050) 0:01:02.255 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.040) 0:01:02.296 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:12:09 +0000 (0:00:00.022) 0:01:02.318 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:12:10 +0000 (0:00:00.692) 0:01:03.010 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.905) 0:01:03.915 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.055) 0:01:03.971 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.028) 0:01:04.000 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.034) 0:01:04.034 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.027) 0:01:04.061 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.025) 0:01:04.087 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.117) 0:01:04.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.057) 0:01:04.262 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.103) 0:01:04.366 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.050) 0:01:04.416 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.042) 0:01:04.459 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:12:11 +0000 (0:00:00.088) 0:01:04.547 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.320) 0:01:04.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.059) 0:01:04.928 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.081) 0:01:05.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.048) 0:01:05.058 ******** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.303) 0:01:05.362 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.043) 0:01:05.406 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.043) 0:01:05.449 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efd1b70a-4d4f-4c8b-9c60-d99ac51afa65 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.049) 0:01:05.499 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:12:12 +0000 (0:00:00.047) 0:01:05.546 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.227) 0:01:05.774 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.077) 0:01:05.852 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.121) 0:01:05.973 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.075) 0:01:06.049 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.057) 0:01:06.106 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:12:13 +0000 (0:00:00.080) 0:01:06.187 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:12:14 +0000 (0:00:00.753) 0:01:06.940 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.879) 0:01:07.820 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.052) 0:01:07.872 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.044) 0:01:07.917 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.051) 0:01:07.968 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.029) 0:01:07.998 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.063) 0:01:08.062 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.031) 0:01:08.094 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.035) 0:01:08.130 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.099) 0:01:08.230 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.039) 0:01:08.269 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.069) 0:01:08.338 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.038) 0:01:08.377 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.243) 0:01:08.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:12:15 +0000 (0:00:00.027) 0:01:08.648 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.032) 0:01:08.681 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.023) 0:01:08.705 ******** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.391) 0:01:09.096 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.023) 0:01:09.119 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.039) 0:01:09.159 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.028) 0:01:09.187 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.020) 0:01:09.207 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.142) 0:01:09.350 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.117) 0:01:09.467 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.068) 0:01:09.536 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.048) 0:01:09.585 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 19:12:16 +0000 (0:00:00.043) 0:01:09.628 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 19:12:17 +0000 (0:00:00.025) 0:01:09.653 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 19:12:17 +0000 (0:00:00.023) 0:01:09.676 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 19:12:17 +0000 (0:00:00.666) 0:01:10.343 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.884) 0:01:11.227 ******** ok: [sut] => {} MSG: Using network provider: nm 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.021) 0:01:11.249 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.021) 0:01:11.271 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.023) 0:01:11.294 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.033) 0:01:11.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 YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.022) 0:01:11.350 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.027) 0:01:11.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.026) 0:01:11.403 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.051) 0:01:11.455 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.055) 0:01:11.510 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.023) 0:01:11.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 19:12:18 +0000 (0:00:00.031) 0:01:11.565 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.296) 0:01:11.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.029) 0:01:11.891 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.047) 0:01:11.939 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.033) 0:01:11.973 ******** 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.378) 0:01:12.351 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.058) 0:01:12.410 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.032) 0:01:12.442 ******** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.026) 0:01:12.468 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 19:12:19 +0000 (0:00:00.033) 0:01:12.502 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.148) 0:01:12.651 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.055) 0:01:12.706 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.042) 0:01:12.749 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.024) 0:01:12.773 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.164) 0:01:12.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.058) 0:01:12.995 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017954", "end": "2024-07-24 19:12:20.472642", "rc": 1, "start": "2024-07-24 19:12:20.454688" } 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.159) 0:01:13.154 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.048) 0:01:13.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.069) 0:01:13.272 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.105) 0:01:13.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.066) 0:01:13.444 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.100) 0:01:13.545 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 19:12:20 +0000 (0:00:00.039) 0:01:13.584 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.623875", "end": "2024-07-24 19:12:21.704935", "rc": 0, "start": "2024-07-24 19:12:21.081060" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 19:12:21 +0000 (0:00:00.821) 0:01:14.405 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 19:12:21 +0000 (0:00:00.031) 0:01:14.437 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 19:12:21 +0000 (0:00:00.042) 0:01:14.479 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 19:12:21 +0000 (0:00:00.073) 0:01:14.553 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 19:12:21 +0000 (0:00:00.036) 0:01:14.589 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.138) 0:01:14.727 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.030) 0:01:14.757 ******** 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.041) 0:01:14.799 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.050) 0:01:14.849 ******** 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.042188", "end": "2024-07-24 19:12:22.351150", "rc": 1, "start": "2024-07-24 19:12:22.308962" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.197) 0:01:15.047 ******** 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.007105", "end": "2024-07-24 19:12:22.524644", "rc": 0, "start": "2024-07-24 19:12:22.517539" } 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:9f:e2:bf:69:f7 brd ff:ff:ff:ff:ff:ff inet 10.31.10.34/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 1802sec preferred_lft 1802sec inet6 fe80::109f:e2ff:febf:69f7/64 scope link valid_lft forever preferred_lft forever 49: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 5e:48:10:25:02:c3 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.34 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-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 19:12:22 +0000 (0:00:00.207) 0:01:15.254 ******** 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.366596", "end": "2024-07-24 19:12:23.106373", "rc": 0, "start": "2024-07-24 19:12:22.739777" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 1439 0 --:--:-- --:--:-- --:--:-- 1445 % 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 291 100 291 0 0 2178 0 --:--:-- --:--:-- --:--:-- 2187 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Wednesday 24 July 2024 19:12:23 +0000 (0:00:00.549) 0:01:15.804 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.96s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.49s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.30s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:188 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.94s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.89s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-team-test-not-cleaning-up-properly1ilrgcv9/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. ---^---^---^---^---^---