# 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-weekly-cipb9dl22j/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tests_states_nm.yml:6 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tests_states_nm.yml:9 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.561) 0:00:00.575 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.030) 0:00:00.606 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.230) 0:00:00.836 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.294) 0:00:01.130 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.043) 0:00:01.174 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.023) 0:00:01.198 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.034) 0:00:01.232 ****** 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-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.200) 0:00:01.433 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.470) 0:00:01.903 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172566", "end": "2024-01-13 13:37:21.168293", "rc": 0, "start": "2024-01-13 13:37:20.995727" } 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-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.299) 0:00:02.203 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.011) 0:00:02.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tests_states_nm.yml:11 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.010) 0:00:02.224 ****** 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.010) 0:00:02.234 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.403) 0:00:02.638 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.013) 0:00:02.652 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.018) 0:00:02.670 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.012) 0:00:02.682 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.045) 0:00:02.728 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.015) 0:00:02.744 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.014) 0:00:02.758 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-01-13 13:37:21.850526", "rc": 0, "start": "2024-01-13 13:37:21.847308" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.125) 0:00:02.883 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.012) 0:00:02.896 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.010) 0:00:02.906 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.021) 0:00:02.928 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010461", "end": "2024-01-13 13:37:22.024498", "rc": 1, "start": "2024-01-13 13:37:22.014037" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.153) 0:00:03.081 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.017) 0:00:03.098 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.136) 0:00:03.235 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.013) 0:00:03.248 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.019) 0:00:03.268 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.036) 0:00:03.305 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.073) 0:00:03.378 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.015) 0:00:03.393 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.019) 0:00:03.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.012) 0:00:03.426 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:23 +0000 (0:00:00.766) 0:00:04.192 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:24 +0000 (0:00:01.100) 0:00:05.293 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.078) 0:00:05.372 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.034) 0:00:05.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.037) 0:00:05.443 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.078) 0:00:05.521 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.035) 0:00:05.557 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.032) 0:00:05.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.042) 0:00:05.632 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.500) 0:00:06.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.051) 0:00:06.185 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.041) 0:00:06.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.024) 0:00:06.251 ****** 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, a0f60d98-44f3-4803-bfaf-a23c84472d29 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.451) 0:00:06.703 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.022) 0:00:06.725 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f60d98-44f3-4803-bfaf-a23c84472d29" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.023) 0:00:06.749 ****** 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, a0f60d98-44f3-4803-bfaf-a23c84472d29\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f60d98-44f3-4803-bfaf-a23c84472d29" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.024) 0:00:06.774 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.021) 0:00:06.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.223) 0:00:07.019 ****** 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, a0f60d98-44f3-4803-bfaf-a23c84472d29\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0f60d98-44f3-4803-bfaf-a23c84472d29" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.028) 0:00:07.047 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.045) 0:00:07.092 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.042) 0:00:07.135 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.033) 0:00:07.169 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153045.6674607, "block_size": 4096, "blocks": 8, "ctime": 1705153045.5914638, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153045.5914638, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.159) 0:00:07.329 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.023) 0:00:07.352 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027205", "end": "2024-01-13 13:37:26.468164", "rc": 0, "start": "2024-01-13 13:37:26.440959" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.185) 0:00:07.538 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.044) 0:00:07.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.047) 0:00:07.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.028) 0:00:07.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.036) 0:00:07.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.051) 0:00:07.746 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.030) 0:00:07.777 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.023) 0:00:07.800 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.045) 0:00:07.846 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.044) 0:00:07.890 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.055) 0:00:07.945 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153045.5974636, "block_size": 4096, "blocks": 0, "ctime": 1705153045.593464, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17742, "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": 1705153045.593464, "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-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.173) 0:00:08.118 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.026) 0:00:08.145 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.025) 0:00:08.170 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.057) 0:00:08.227 ****** 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.077516", "end": "2024-01-13 13:37:27.400613", "rc": 1, "start": "2024-01-13 13:37:27.323097" } STDOUT: Connection 'statebr' (a0f60d98-44f3-4803-bfaf-a23c84472d29) successfully deleted. STDERR: (process:707): GLib-GIO-WARNING **: 13:37:27.377: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/41 but no object proxy exists (process:707): GLib-GIO-WARNING **: 13:37:27.379: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/80 but no object proxy exists (process:707): GLib-GIO-WARNING **: 13:37:27.379: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.229) 0:00:08.456 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.056) 0:00:08.512 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.031) 0:00:08.544 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.070) 0:00:08.615 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.064) 0:00:08.679 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.088) 0:00:08.768 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-01-13 13:37:27.878844", "rc": 0, "start": "2024-01-13 13:37:27.875625" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.159) 0:00:08.927 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.026) 0:00:08.954 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.062) 0:00:09.016 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.044) 0:00:09.061 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006847", "end": "2024-01-13 13:37:28.159178", "rc": 1, "start": "2024-01-13 13:37:28.152331" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.140) 0:00:09.201 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.035) 0:00:09.237 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.134) 0:00:09.372 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.023) 0:00:09.396 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.041) 0:00:09.437 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.041) 0:00:09.479 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.063) 0:00:09.543 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.027) 0:00:09.570 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.022) 0:00:09.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.044) 0:00:09.638 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:29 +0000 (0:00:00.691) 0:00:10.329 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.904) 0:00:11.234 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.037) 0:00:11.272 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.046) 0:00:11.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.054) 0:00:11.373 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.073) 0:00:11.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.044) 0:00:11.492 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.094) 0:00:11.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.028) 0:00:11.615 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.258) 0:00:11.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.039) 0:00:11.913 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.027) 0:00:11.941 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.037) 0:00:11.978 ****** 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, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.407) 0:00:12.386 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.031) 0:00:12.417 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.038) 0:00:12.456 ****** 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, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.045) 0:00:12.501 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.024) 0:00:12.525 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.158) 0:00:12.684 ****** 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, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64bc2d5c-98a4-4a16-a877-f40158d3d7a7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.038) 0:00:12.722 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.081) 0:00:12.804 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.053) 0:00:12.857 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.301) 0:00:13.158 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.033) 0:00:13.192 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.098) 0:00:13.290 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.056) 0:00:13.347 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153051.3082225, "block_size": 4096, "blocks": 8, "ctime": 1705153051.3072224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153051.3072224, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.166) 0:00:13.513 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.026) 0:00:13.540 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022983", "end": "2024-01-13 13:37:32.701760", "rc": 0, "start": "2024-01-13 13:37:32.678777" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.228) 0:00:13.768 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.035) 0:00:13.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.062) 0:00:13.866 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.042) 0:00:13.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.041) 0:00:13.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.034) 0:00:13.984 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.066) 0:00:14.051 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.051) 0:00:14.102 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.025) 0:00:14.127 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.022) 0:00:14.150 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.023) 0:00:14.174 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.083) 0:00:14.257 ****** 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.051279", "end": "2024-01-13 13:37:33.422018", "rc": 1, "start": "2024-01-13 13:37:33.370739" } STDOUT: Connection 'statebr' (64bc2d5c-98a4-4a16-a877-f40158d3d7a7) 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.210) 0:00:14.467 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.073) 0:00:14.541 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.028) 0:00:14.570 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.048) 0:00:14.619 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.053) 0:00:14.672 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.052) 0:00:14.725 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-01-13 13:37:33.839739", "rc": 0, "start": "2024-01-13 13:37:33.836557" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.161) 0:00:14.887 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.057) 0:00:14.945 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.026) 0:00:14.971 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.063) 0:00:15.035 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.044) 0:00:15.080 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.090) 0:00:15.170 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.028) 0:00:15.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:15.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:15.245 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.687) 0:00:15.932 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.946) 0:00:16.879 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.056) 0:00:16.935 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.037) 0:00:16.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.038) 0:00:17.012 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.084) 0:00:17.096 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.124) 0:00:17.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.030) 0:00:17.252 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.030) 0:00:17.282 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.260) 0:00:17.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.064) 0:00:17.608 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.038) 0:00:17.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.035) 0:00:17.681 ****** 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, 1395c100-5585-4d0e-a2be-6529a13b84f0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.379) 0:00:18.061 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.022) 0:00:18.084 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1395c100-5585-4d0e-a2be-6529a13b84f0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.030) 0:00:18.115 ****** 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, 1395c100-5585-4d0e-a2be-6529a13b84f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1395c100-5585-4d0e-a2be-6529a13b84f0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.028) 0:00:18.143 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.024) 0:00:18.167 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.135) 0:00:18.302 ****** 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, 1395c100-5585-4d0e-a2be-6529a13b84f0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1395c100-5585-4d0e-a2be-6529a13b84f0" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.032) 0:00:18.335 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.067) 0:00:18.402 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.144) 0:00:18.546 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.068) 0:00:18.615 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.032) 0:00:18.648 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.026) 0:00:18.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.030) 0:00:18.705 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:38 +0000 (0:00:00.683) 0:00:19.389 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.914) 0:00:20.303 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.024) 0:00:20.328 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.023) 0:00:20.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.037) 0:00:20.390 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.070) 0:00:20.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.022) 0:00:20.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.029) 0:00:20.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.025) 0:00:20.537 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.222) 0:00:20.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.027) 0:00:20.787 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.043) 0:00:20.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.046) 0:00:20.877 ****** 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, 1395c100-5585-4d0e-a2be-6529a13b84f0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.344) 0:00:21.222 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.031) 0:00:21.253 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1395c100-5585-4d0e-a2be-6529a13b84f0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.026) 0:00:21.280 ****** 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, 1395c100-5585-4d0e-a2be-6529a13b84f0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1395c100-5585-4d0e-a2be-6529a13b84f0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.032) 0:00:21.313 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.021) 0:00:21.334 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.142) 0:00:21.477 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.050) 0:00:21.528 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.078) 0:00:21.606 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153056.9249852, "block_size": 4096, "blocks": 0, "ctime": 1705153056.9239852, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17742, "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": 1705153056.9239852, "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-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.142) 0:00:21.749 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.024) 0:00:21.774 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.036) 0:00:21.810 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.022) 0:00:21.833 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153056.9229853, "block_size": 4096, "blocks": 8, "ctime": 1705153056.9219854, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153056.9219854, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.152) 0:00:21.986 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.044) 0:00:22.030 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023681", "end": "2024-01-13 13:37:41.140637", "rc": 0, "start": "2024-01-13 13:37:41.116956" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.154) 0:00:22.185 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.025) 0:00:22.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.026) 0:00:22.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.035) 0:00:22.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.033) 0:00:22.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.032) 0:00:22.339 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.028) 0:00:22.367 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.027) 0:00:22.395 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.026) 0:00:22.421 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.022) 0:00:22.444 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.054) 0:00:22.499 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.041) 0:00:22.540 ****** 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.080999", "end": "2024-01-13 13:37:41.712062", "rc": 1, "start": "2024-01-13 13:37:41.631063" } STDOUT: Connection 'statebr' (1395c100-5585-4d0e-a2be-6529a13b84f0) successfully deleted. STDERR: (process:1438): GLib-GIO-WARNING **: 13:37:41.690: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/42 but no object proxy exists (process:1438): GLib-GIO-WARNING **: 13:37:41.690: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/82 but no object proxy exists (process:1438): GLib-GIO-WARNING **: 13:37:41.690: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.219) 0:00:22.759 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.038) 0:00:22.798 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.029) 0:00:22.827 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.050) 0:00:22.878 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.044) 0:00:22.923 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.051) 0:00:22.974 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003141", "end": "2024-01-13 13:37:42.085894", "rc": 0, "start": "2024-01-13 13:37:42.082753" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.171) 0:00:23.145 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.031) 0:00:23.177 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.030) 0:00:23.207 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.059) 0:00:23.266 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.065) 0:00:23.332 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.040) 0:00:23.373 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.026) 0:00:23.399 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.022) 0:00:23.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.026) 0:00:23.447 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.711) 0:00:24.159 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.916) 0:00:25.076 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.023) 0:00:25.099 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.049) 0:00:25.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.022) 0:00:25.171 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.062) 0:00:25.234 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.024) 0:00:25.258 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.023) 0:00:25.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.037) 0:00:25.319 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.261) 0:00:25.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.064) 0:00:25.645 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.029) 0:00:25.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.035) 0:00:25.710 ****** 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, bf00129d-2bcd-478c-8971-301b2e0a2f62 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.364) 0:00:26.075 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.036) 0:00:26.111 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf00129d-2bcd-478c-8971-301b2e0a2f62" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.039) 0:00:26.151 ****** 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, bf00129d-2bcd-478c-8971-301b2e0a2f62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf00129d-2bcd-478c-8971-301b2e0a2f62" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.030) 0:00:26.182 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.022) 0:00:26.204 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.127) 0:00:26.332 ****** 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, bf00129d-2bcd-478c-8971-301b2e0a2f62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf00129d-2bcd-478c-8971-301b2e0a2f62" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.024) 0:00:26.357 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.078) 0:00:26.436 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.057) 0:00:26.493 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.078) 0:00:26.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.037) 0:00:26.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.033) 0:00:26.642 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.706) 0:00:27.348 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.899) 0:00:28.248 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.022) 0:00:28.271 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.055) 0:00:28.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.055) 0:00:28.382 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.051) 0:00:28.434 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.051) 0:00:28.486 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.024) 0:00:28.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.034) 0:00:28.545 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.231) 0:00:28.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.052) 0:00:28.829 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.029) 0:00:28.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.038) 0:00:28.897 ****** 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, bf00129d-2bcd-478c-8971-301b2e0a2f62 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.296) 0:00:29.194 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.024) 0:00:29.218 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf00129d-2bcd-478c-8971-301b2e0a2f62 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.039) 0:00:29.258 ****** 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, bf00129d-2bcd-478c-8971-301b2e0a2f62 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf00129d-2bcd-478c-8971-301b2e0a2f62 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.025) 0:00:29.283 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.027) 0:00:29.310 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.136) 0:00:29.446 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.081) 0:00:29.528 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.068) 0:00:29.597 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.071) 0:00:29.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.042) 0:00:29.711 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.026) 0:00:29.737 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.027) 0:00:29.765 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.699) 0:00:30.465 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.964) 0:00:31.430 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.023) 0:00:31.453 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.049) 0:00:31.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.023) 0:00:31.526 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.054) 0:00:31.581 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.023) 0:00:31.604 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.023) 0:00:31.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.027) 0:00:31.655 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.244) 0:00:31.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.026) 0:00:31.927 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.039) 0:00:31.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.041) 0:00:32.008 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.431) 0:00:32.440 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.022) 0:00:32.462 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.022) 0:00:32.485 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.023) 0:00:32.508 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.023) 0:00:32.532 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.132) 0:00:32.665 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.081) 0:00:32.746 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.043) 0:00:32.790 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153064.9746451, "block_size": 4096, "blocks": 0, "ctime": 1705153064.9736452, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17745, "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": 1705153064.9736452, "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-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.185) 0:00:32.975 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.027) 0:00:33.003 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.120) 0:00:33.123 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.069) 0:00:33.193 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.245) 0:00:33.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.051) 0:00:33.490 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023658", "end": "2024-01-13 13:37:52.612787", "rc": 1, "start": "2024-01-13 13:37:52.589129" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.165) 0:00:33.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.029) 0:00:33.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.025) 0:00:33.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.029) 0:00:33.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.059) 0:00:33.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.076) 0:00:33.875 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.082) 0:00:33.958 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.033) 0:00:33.991 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.029) 0:00:34.021 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.046) 0:00:34.068 ****** 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.078526", "end": "2024-01-13 13:37:53.252009", "rc": 1, "start": "2024-01-13 13:37:53.173483" } STDOUT: Connection 'statebr' (bf00129d-2bcd-478c-8971-301b2e0a2f62) 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.227) 0:00:34.296 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.038) 0:00:34.334 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.030) 0:00:34.364 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.049) 0:00:34.414 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.081) 0:00:34.496 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.053) 0:00:34.550 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2024-01-13 13:37:53.640717", "rc": 0, "start": "2024-01-13 13:37:53.637366" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.160) 0:00:34.711 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.026) 0:00:34.737 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.025) 0:00:34.762 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.082) 0:00:34.845 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.045) 0:00:34.890 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.053) 0:00:34.944 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.039) 0:00:34.983 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.033) 0:00:35.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:54 +0000 (0:00:00.028) 0:00:35.045 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:54 +0000 (0:00:00.686) 0:00:35.732 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.957) 0:00:36.689 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.080) 0:00:36.770 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.037) 0:00:36.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.037) 0:00:36.845 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.069) 0:00:36.914 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.021) 0:00:36.936 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.022) 0:00:36.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.025) 0:00:36.985 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.254) 0:00:37.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.066) 0:00:37.306 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.023) 0:00:37.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.022) 0:00:37.352 ****** 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, 76245d52-e44a-4425-afaf-3f7506bfd241 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.343) 0:00:37.696 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.023) 0:00:37.719 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76245d52-e44a-4425-afaf-3f7506bfd241" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.024) 0:00:37.743 ****** 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, 76245d52-e44a-4425-afaf-3f7506bfd241\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76245d52-e44a-4425-afaf-3f7506bfd241" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.023) 0:00:37.766 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.021) 0:00:37.788 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.174) 0:00:37.962 ****** 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, 76245d52-e44a-4425-afaf-3f7506bfd241\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 76245d52-e44a-4425-afaf-3f7506bfd241" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.024) 0:00:37.986 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.036) 0:00:38.023 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.044) 0:00:38.068 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.034) 0:00:38.103 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.041) 0:00:38.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.028) 0:00:38.172 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.735) 0:00:38.908 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.927) 0:00:39.835 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.077) 0:00:39.913 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.027) 0:00:39.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.029) 0:00:39.969 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.059) 0:00:40.029 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.022) 0:00:40.052 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.021) 0:00:40.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.032) 0:00:40.106 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.246) 0:00:40.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.028) 0:00:40.381 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.022) 0:00:40.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.030) 0:00:40.435 ****** 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, 76245d52-e44a-4425-afaf-3f7506bfd241 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.313) 0:00:40.749 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.042) 0:00:40.791 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 76245d52-e44a-4425-afaf-3f7506bfd241 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.052) 0:00:40.843 ****** 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, 76245d52-e44a-4425-afaf-3f7506bfd241 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 76245d52-e44a-4425-afaf-3f7506bfd241 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.023) 0:00:40.866 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.023) 0:00:40.890 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.128) 0:00:41.018 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.081) 0:00:41.099 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.044) 0:00:41.143 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.029) 0:00:41.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.032) 0:00:41.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.022) 0:00:41.229 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.675) 0:00:41.904 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.903) 0:00:42.807 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.062) 0:00:42.870 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.037) 0:00:42.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.024) 0:00:42.933 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.065) 0:00:42.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.024) 0:00:43.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.024) 0:00:43.048 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.032) 0:00:43.081 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.248) 0:00:43.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.026) 0:00:43.356 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.022) 0:00:43.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.028) 0:00:43.407 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.346) 0:00:43.754 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.026) 0:00:43.781 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.025) 0:00:43.807 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.024) 0:00:43.832 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.023) 0:00:43.856 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.136) 0:00:43.992 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.095) 0:00:44.087 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.066) 0:00:44.154 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.064) 0:00:44.218 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.056) 0:00:44.275 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.032) 0:00:44.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.030) 0:00:44.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.689) 0:00:45.028 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.931) 0:00:45.960 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.077) 0:00:46.037 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.045) 0:00:46.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.032) 0:00:46.115 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.090) 0:00:46.205 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.040) 0:00:46.246 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.024) 0:00:46.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.029) 0:00:46.300 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.259) 0:00:46.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.027) 0:00:46.587 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.022) 0:00:46.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.023) 0:00:46.633 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.376) 0:00:47.009 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.022) 0:00:47.032 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.039) 0:00:47.071 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.024) 0:00:47.096 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.022) 0:00:47.119 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.167) 0:00:47.286 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.052) 0:00:47.339 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.056) 0:00:47.395 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.032) 0:00:47.428 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.155) 0:00:47.583 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.043) 0:00:47.627 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023743", "end": "2024-01-13 13:38:06.736580", "rc": 1, "start": "2024-01-13 13:38:06.712837" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.153) 0:00:47.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.024) 0:00:47.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.024) 0:00:47.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.033) 0:00:47.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.028) 0:00:47.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.025) 0:00:47.917 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.033) 0:00:47.950 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.046) 0:00:47.996 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.072) 0:00:48.069 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.151) 0:00:48.220 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.033) 0:00:48.253 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.024) 0:00:48.278 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.071) 0:00:48.350 ****** 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.046926", "end": "2024-01-13 13:38:07.518746", "rc": 1, "start": "2024-01-13 13:38:07.471820" } 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.212) 0:00:48.562 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.038) 0:00:48.600 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.024) 0:00:48.624 ****** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.056) 0:00:48.681 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.050) 0:00:48.732 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.035) 0:00:48.768 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003252", "end": "2024-01-13 13:38:07.858319", "rc": 0, "start": "2024-01-13 13:38:07.855067" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.149) 0:00:48.917 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.038) 0:00:48.955 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.079) 0:00:49.035 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.048) 0:00:49.083 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.061) 0:00:49.144 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.054) 0:00:49.199 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.032) 0:00:49.232 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.034) 0:00:49.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.044) 0:00:49.311 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.704) 0:00:50.016 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:09 +0000 (0:00:00.933) 0:00:50.949 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:09 +0000 (0:00:00.023) 0:00:50.973 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:09 +0000 (0:00:00.022) 0:00:50.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:09 +0000 (0:00:00.023) 0:00:51.018 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.045) 0:00:51.064 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.023) 0:00:51.087 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.031) 0:00:51.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.028) 0:00:51.146 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.240) 0:00:51.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.027) 0:00:51.414 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.027) 0:00:51.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.022) 0:00:51.465 ****** 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, 6cfb6253-b710-438c-8f28-64b01a483711 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.335) 0:00:51.800 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.022) 0:00:51.822 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6cfb6253-b710-438c-8f28-64b01a483711" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.022) 0:00:51.845 ****** 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, 6cfb6253-b710-438c-8f28-64b01a483711\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6cfb6253-b710-438c-8f28-64b01a483711" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.052) 0:00:51.897 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.022) 0:00:51.920 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.126) 0:00:52.046 ****** 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, 6cfb6253-b710-438c-8f28-64b01a483711\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6cfb6253-b710-438c-8f28-64b01a483711" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.024) 0:00:52.070 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.041) 0:00:52.112 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.050) 0:00:52.162 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.038) 0:00:52.201 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.024) 0:00:52.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.022) 0:00:52.247 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.688) 0:00:52.936 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.994) 0:00:53.931 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.024) 0:00:53.956 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.021) 0:00:53.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.022) 0:00:54.000 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.044) 0:00:54.044 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.022) 0:00:54.067 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.031) 0:00:54.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.037) 0:00:54.136 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.238) 0:00:54.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.027) 0:00:54.402 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.032) 0:00:54.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.025) 0:00:54.460 ****** 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, 6cfb6253-b710-438c-8f28-64b01a483711 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.295) 0:00:54.756 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.083) 0:00:54.839 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6cfb6253-b710-438c-8f28-64b01a483711 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.064) 0:00:54.904 ****** 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, 6cfb6253-b710-438c-8f28-64b01a483711 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6cfb6253-b710-438c-8f28-64b01a483711 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.066) 0:00:54.970 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.069) 0:00:55.040 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.159) 0:00:55.200 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.036) 0:00:55.236 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.052) 0:00:55.288 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.031) 0:00:55.320 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.042) 0:00:55.362 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.042) 0:00:55.404 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.738) 0:00:56.143 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.980) 0:00:57.124 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.026) 0:00:57.150 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.023) 0:00:57.174 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.022) 0:00:57.196 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.044) 0:00:57.241 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.021) 0:00:57.262 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.023) 0:00:57.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.034) 0:00:57.320 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.225) 0:00:57.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.027) 0:00:57.574 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.032) 0:00:57.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.049) 0:00:57.656 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.393) 0:00:58.049 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.060) 0:00:58.109 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.033) 0:00:58.143 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.045) 0:00:58.188 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.027) 0:00:58.215 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.150) 0:00:58.366 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.045) 0:00:58.412 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.036) 0:00:58.448 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.044) 0:00:58.492 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.028) 0:00:58.521 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.022) 0:00:58.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.021) 0:00:58.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.677) 0:00:59.242 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.969) 0:01:00.211 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.057) 0:01:00.269 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.029) 0:01:00.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.030) 0:01:00.329 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.049) 0:01:00.378 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.022) 0:01:00.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.023) 0:01:00.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.027) 0:01:00.451 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.221) 0:01:00.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.026) 0:01:00.699 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.021) 0:01:00.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.021) 0:01:00.741 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.342) 0:01:01.084 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.027) 0:01:01.111 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.025) 0:01:01.137 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.034) 0:01:01.171 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.040) 0:01:01.211 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.210) 0:01:01.422 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.052) 0:01:01.474 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.047) 0:01:01.522 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.028) 0:01:01.551 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.133) 0:01:01.684 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.023) 0:01:01.708 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023679", "end": "2024-01-13 13:38:20.826013", "rc": 1, "start": "2024-01-13 13:38:20.802334" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.161) 0:01:01.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.023) 0:01:01.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.023) 0:01:01.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.056) 0:01:01.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.025) 0:01:01.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.028) 0:01:02.027 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.025) 0:01:02.052 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.666461", "end": "2024-01-13 13:38:21.807838", "rc": 0, "start": "2024-01-13 13:38:21.141377" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.819) 0:01:02.872 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.027) 0:01:02.899 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.028) 0:01:02.928 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:21 +0000 (0:00:00.047) 0:01:02.975 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.045) 0:01:03.020 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.185) 0:01:03.205 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.040) 0:01:03.246 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.047) 0:01:03.293 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.090) 0:01:03.383 ****** 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.048228", "end": "2024-01-13 13:38:22.532520", "rc": 1, "start": "2024-01-13 13:38:22.484292" } 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 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Saturday 13 January 2024 13:38:22 +0000 (0:00:00.207) 0:01:03.591 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.88s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.52s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.11s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.94s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cipb9dl22j/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. ---^---^---^---^---^---