# 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-route_typexmq_wfun/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/tests_states_nm.yml:6 Thursday 11 January 2024 02:25:06 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typexmq_wfun/tests/tests_states_nm.yml:9 Thursday 11 January 2024 02:25:06 +0000 (0:00:00.505) 0:00:00.517 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.021) 0:00:00.539 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.224) 0:00:00.763 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.196) 0:00:00.960 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.020) 0:00:00.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.018) 0:00:00.999 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.030) 0:00:01.030 ****** 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-route_typexmq_wfun/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:25:07 +0000 (0:00:00.186) 0:00:01.216 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.446) 0:00:01.663 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175602", "end": "2024-01-11 02:25:08.410473", "rc": 0, "start": "2024-01-11 02:25:08.234871" } 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-route_typexmq_wfun/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.300) 0:00:01.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.010) 0:00:01.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/tests_states_nm.yml:11 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.009) 0:00:01.983 ****** 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.009) 0:00:01.993 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.376) 0:00:02.369 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.011) 0:00:02.380 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.015) 0:00:02.396 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.010) 0:00:02.407 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.031) 0:00:02.438 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.013) 0:00:02.452 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:08 +0000 (0:00:00.012) 0:00:02.465 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2024-01-11 02:25:09.038678", "rc": 0, "start": "2024-01-11 02:25:09.035274" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.126) 0:00:02.591 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.012) 0:00:02.603 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.010) 0:00:02.614 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.019) 0:00:02.633 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010837", "end": "2024-01-11 02:25:09.214115", "rc": 1, "start": "2024-01-11 02:25:09.203278" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.132) 0:00:02.766 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.013) 0:00:02.780 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.122) 0:00:02.903 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.011) 0:00:02.914 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.016) 0:00:02.931 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.032) 0:00:02.964 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.065) 0:00:03.029 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.011) 0:00:03.041 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.009) 0:00:03.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:09 +0000 (0:00:00.009) 0:00:03.060 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:10 +0000 (0:00:00.760) 0:00:03.820 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:11 +0000 (0:00:01.063) 0:00:04.883 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.020) 0:00:04.904 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.019) 0:00:04.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.018) 0:00:04.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.041) 0:00:04.984 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.021) 0:00:05.005 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.020) 0:00:05.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.024) 0:00:05.051 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.356) 0:00:05.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.029) 0:00:05.437 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.019) 0:00:05.456 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:11 +0000 (0:00:00.019) 0:00:05.475 ****** 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, 144e0fc0-ae9b-4f51-b44d-df4950b99a25 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.449) 0:00:05.924 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.019) 0:00:05.944 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 144e0fc0-ae9b-4f51-b44d-df4950b99a25" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.037) 0:00:05.982 ****** 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, 144e0fc0-ae9b-4f51-b44d-df4950b99a25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 144e0fc0-ae9b-4f51-b44d-df4950b99a25" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.022) 0:00:06.004 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.019) 0:00:06.024 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.180) 0:00:06.204 ****** 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, 144e0fc0-ae9b-4f51-b44d-df4950b99a25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 144e0fc0-ae9b-4f51-b44d-df4950b99a25" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.022) 0:00:06.226 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.036) 0:00:06.263 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.034) 0:00:06.297 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.020) 0:00:06.318 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939912.379182, "block_size": 4096, "blocks": 8, "ctime": 1704939912.2981846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25423, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939912.2981846, "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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.132) 0:00:06.451 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:12 +0000 (0:00:00.021) 0:00:06.473 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024297", "end": "2024-01-11 02:25:13.065194", "rc": 0, "start": "2024-01-11 02:25:13.040897" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.154) 0:00:06.627 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.023) 0:00:06.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:06.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:06.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:06.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.059) 0:00:06.775 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.023) 0:00:06.798 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.022) 0:00:06.821 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:06.843 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.040) 0:00:06.883 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.032) 0:00:06.916 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939912.3011844, "block_size": 4096, "blocks": 0, "ctime": 1704939912.3001845, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1704939912.3001845, "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-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.132) 0:00:07.048 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.023) 0:00:07.071 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:07.092 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.040) 0:00:07.133 ****** 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.078732", "end": "2024-01-11 02:25:13.779982", "rc": 1, "start": "2024-01-11 02:25:13.701250" } STDOUT: Connection 'statebr' (144e0fc0-ae9b-4f51-b44d-df4950b99a25) successfully deleted. STDERR: (process:28497): GLib-GIO-WARNING **: 02:25:13.754: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/42 but no object proxy exists (process:28497): GLib-GIO-WARNING **: 02:25:13.755: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/66 but no object proxy exists (process:28497): GLib-GIO-WARNING **: 02:25:13.755: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/37 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.208) 0:00:07.342 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.035) 0:00:07.377 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.021) 0:00:07.398 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.065) 0:00:07.464 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.032) 0:00:07.497 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:13 +0000 (0:00:00.031) 0:00:07.528 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-01-11 02:25:14.100699", "rc": 0, "start": "2024-01-11 02:25:14.097440" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.134) 0:00:07.662 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.021) 0:00:07.684 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.020) 0:00:07.705 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.038) 0:00:07.744 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007139", "end": "2024-01-11 02:25:14.323647", "rc": 1, "start": "2024-01-11 02:25:14.316508" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.141) 0:00:07.885 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.033) 0:00:07.918 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.132) 0:00:08.051 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.021) 0:00:08.072 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.059) 0:00:08.132 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.039) 0:00:08.171 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.037) 0:00:08.209 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.028) 0:00:08.237 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.022) 0:00:08.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:14 +0000 (0:00:00.019) 0:00:08.279 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:15 +0000 (0:00:00.695) 0:00:08.975 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.931) 0:00:09.906 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.022) 0:00:09.928 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.020) 0:00:09.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.021) 0:00:09.970 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.044) 0:00:10.014 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.021) 0:00:10.036 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.020) 0:00:10.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.023) 0:00:10.080 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.227) 0:00:10.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.024) 0:00:10.332 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.021) 0:00:10.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:16 +0000 (0:00:00.019) 0:00:10.373 ****** 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, 7a37d365-66cb-48e0-9e72-76a0e9de3117 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.297) 0:00:10.671 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.019) 0:00:10.690 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a37d365-66cb-48e0-9e72-76a0e9de3117" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.022) 0:00:10.712 ****** 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, 7a37d365-66cb-48e0-9e72-76a0e9de3117\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a37d365-66cb-48e0-9e72-76a0e9de3117" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.020) 0:00:10.733 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.041) 0:00:10.774 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.131) 0:00:10.906 ****** 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, 7a37d365-66cb-48e0-9e72-76a0e9de3117\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7a37d365-66cb-48e0-9e72-76a0e9de3117" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.022) 0:00:10.928 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.041) 0:00:10.969 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.033) 0:00:11.003 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.133) 0:00:11.137 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.023) 0:00:11.160 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.034) 0:00:11.195 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.020) 0:00:11.215 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939917.090035, "block_size": 4096, "blocks": 8, "ctime": 1704939917.090035, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939917.090035, "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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.132) 0:00:11.348 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.021) 0:00:11.370 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021855", "end": "2024-01-11 02:25:17.958852", "rc": 0, "start": "2024-01-11 02:25:17.936997" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:17 +0000 (0:00:00.150) 0:00:11.521 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.023) 0:00:11.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.043) 0:00:11.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.022) 0:00:11.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.022) 0:00:11.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.021) 0:00:11.654 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.022) 0:00:11.677 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.022) 0:00:11.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.023) 0:00:11.722 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.019) 0:00:11.742 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.020) 0:00:11.763 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.038) 0:00:11.801 ****** 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.050275", "end": "2024-01-11 02:25:18.422248", "rc": 1, "start": "2024-01-11 02:25:18.371973" } STDOUT: Connection 'statebr' (7a37d365-66cb-48e0-9e72-76a0e9de3117) 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.182) 0:00:11.983 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.034) 0:00:12.017 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.020) 0:00:12.038 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.044) 0:00:12.083 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.034) 0:00:12.117 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:18 +0000 (0:00:00.057) 0:00:12.175 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004511", "end": "2024-01-11 02:25:19.750447", "rc": 0, "start": "2024-01-11 02:25:18.745936" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:19 +0000 (0:00:01.137) 0:00:13.313 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.022) 0:00:13.335 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.028) 0:00:13.364 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.037) 0:00:13.401 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.035) 0:00:13.437 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.037) 0:00:13.475 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.024) 0:00:13.499 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:19 +0000 (0:00:00.019) 0:00:13.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:20 +0000 (0:00:00.039) 0:00:13.558 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:20 +0000 (0:00:00.671) 0:00:14.230 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.906) 0:00:15.136 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.022) 0:00:15.158 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.021) 0:00:15.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.020) 0:00:15.200 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.044) 0:00:15.244 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.020) 0:00:15.265 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.019) 0:00:15.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:21 +0000 (0:00:00.045) 0:00:15.330 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.222) 0:00:15.553 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.024) 0:00:15.577 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.020) 0:00:15.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.019) 0:00:15.617 ****** 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, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.334) 0:00:15.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.020) 0:00:15.972 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.021) 0:00:15.994 ****** 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, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.024) 0:00:16.019 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.020) 0:00:16.040 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.131) 0:00:16.172 ****** 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, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.022) 0:00:16.194 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.037) 0:00:16.231 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.039) 0:00:16.271 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.063) 0:00:16.334 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.025) 0:00:16.360 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.020) 0:00:16.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:22 +0000 (0:00:00.020) 0:00:16.401 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:23 +0000 (0:00:00.673) 0:00:17.074 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.906) 0:00:17.980 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.020) 0:00:18.001 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.040) 0:00:18.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.020) 0:00:18.061 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.042) 0:00:18.103 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.019) 0:00:18.123 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.019) 0:00:18.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.023) 0:00:18.167 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.221) 0:00:18.389 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.024) 0:00:18.413 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.020) 0:00:18.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:24 +0000 (0:00:00.021) 0:00:18.455 ****** 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, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.280) 0:00:18.736 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.020) 0:00:18.757 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.022) 0:00:18.780 ****** 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, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fb9932a6-e2f0-4036-b5cf-3efc2afcc74f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.021) 0:00:18.801 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.019) 0:00:18.821 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.127) 0:00:18.948 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.064) 0:00:19.013 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.034) 0:00:19.047 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939922.3368711, "block_size": 4096, "blocks": 0, "ctime": 1704939922.3328712, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1704939922.3328712, "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-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.135) 0:00:19.183 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.022) 0:00:19.205 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.036) 0:00:19.242 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.021) 0:00:19.264 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939922.3318713, "block_size": 4096, "blocks": 8, "ctime": 1704939922.3308713, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25428, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939922.3308713, "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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.132) 0:00:19.397 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:25 +0000 (0:00:00.022) 0:00:19.420 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022105", "end": "2024-01-11 02:25:26.012750", "rc": 0, "start": "2024-01-11 02:25:25.990645" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.154) 0:00:19.574 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.023) 0:00:19.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.021) 0:00:19.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.023) 0:00:19.642 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.022) 0:00:19.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.025) 0:00:19.691 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.054) 0:00:19.745 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.024) 0:00:19.769 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.022) 0:00:19.792 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.019) 0:00:19.811 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.021) 0:00:19.832 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.037) 0:00:19.870 ****** 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.076647", "end": "2024-01-11 02:25:26.516675", "rc": 1, "start": "2024-01-11 02:25:26.440028" } STDOUT: Connection 'statebr' (fb9932a6-e2f0-4036-b5cf-3efc2afcc74f) 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.208) 0:00:20.078 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.034) 0:00:20.113 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.021) 0:00:20.135 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.046) 0:00:20.181 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.034) 0:00:20.215 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.031) 0:00:20.247 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003608", "end": "2024-01-11 02:25:26.823841", "rc": 0, "start": "2024-01-11 02:25:26.820233" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.139) 0:00:20.386 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.022) 0:00:20.408 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.044) 0:00:20.453 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.043) 0:00:20.496 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:26 +0000 (0:00:00.036) 0:00:20.533 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:27 +0000 (0:00:00.039) 0:00:20.572 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:27 +0000 (0:00:00.026) 0:00:20.598 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:27 +0000 (0:00:00.022) 0:00:20.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:27 +0000 (0:00:00.020) 0:00:20.641 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:27 +0000 (0:00:00.675) 0:00:21.317 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.905) 0:00:22.223 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.021) 0:00:22.244 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.020) 0:00:22.264 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.020) 0:00:22.284 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.041) 0:00:22.326 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.020) 0:00:22.346 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.019) 0:00:22.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:28 +0000 (0:00:00.023) 0:00:22.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.222) 0:00:22.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.024) 0:00:22.636 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.019) 0:00:22.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.020) 0:00:22.675 ****** 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, ed894341-58c7-4603-a6a8-fc59b4b21915 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.329) 0:00:23.005 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.043) 0:00:23.048 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed894341-58c7-4603-a6a8-fc59b4b21915" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.022) 0:00:23.071 ****** 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, ed894341-58c7-4603-a6a8-fc59b4b21915\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed894341-58c7-4603-a6a8-fc59b4b21915" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.021) 0:00:23.092 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.021) 0:00:23.114 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.130) 0:00:23.244 ****** 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, ed894341-58c7-4603-a6a8-fc59b4b21915\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed894341-58c7-4603-a6a8-fc59b4b21915" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.022) 0:00:23.267 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.033) 0:00:23.301 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.038) 0:00:23.339 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.025) 0:00:23.365 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.020) 0:00:23.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:29 +0000 (0:00:00.021) 0:00:23.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:30 +0000 (0:00:00.674) 0:00:24.080 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.935) 0:00:25.015 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.020) 0:00:25.036 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.019) 0:00:25.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.019) 0:00:25.076 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.042) 0:00:25.118 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.020) 0:00:25.138 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.019) 0:00:25.157 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.023) 0:00:25.181 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.226) 0:00:25.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.024) 0:00:25.432 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.019) 0:00:25.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.040) 0:00:25.492 ****** 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, ed894341-58c7-4603-a6a8-fc59b4b21915 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.280) 0:00:25.773 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.021) 0:00:25.795 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed894341-58c7-4603-a6a8-fc59b4b21915 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.022) 0:00:25.817 ****** 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, ed894341-58c7-4603-a6a8-fc59b4b21915 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed894341-58c7-4603-a6a8-fc59b4b21915 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.023) 0:00:25.841 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.021) 0:00:25.862 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.129) 0:00:25.992 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.038) 0:00:26.030 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.038) 0:00:26.068 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.037) 0:00:26.106 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.024) 0:00:26.130 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.019) 0:00:26.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.019) 0:00:26.169 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:33 +0000 (0:00:00.667) 0:00:26.837 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.905) 0:00:27.742 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.020) 0:00:27.763 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.020) 0:00:27.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.020) 0:00:27.804 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.041) 0:00:27.845 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.020) 0:00:27.866 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.019) 0:00:27.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.023) 0:00:27.909 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.240) 0:00:28.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.025) 0:00:28.175 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.019) 0:00:28.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.020) 0:00:28.214 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.320) 0:00:28.534 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.021) 0:00:28.556 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.021) 0:00:28.578 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:28.600 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.020) 0:00:28.620 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.126) 0:00:28.747 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.043) 0:00:28.790 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.034) 0:00:28.825 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939929.3956506, "block_size": 4096, "blocks": 0, "ctime": 1704939929.3916507, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "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": 1704939929.3916507, "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-route_typexmq_wfun/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.132) 0:00:28.957 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.023) 0:00:28.980 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.062) 0:00:29.043 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:29.065 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.132) 0:00:29.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.020) 0:00:29.219 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023681", "end": "2024-01-11 02:25:35.813112", "rc": 1, "start": "2024-01-11 02:25:35.789431" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.156) 0:00:29.375 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:29.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:29.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.021) 0:00:29.441 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.021) 0:00:29.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.021) 0:00:29.484 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:29.507 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.019) 0:00:29.527 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.020) 0:00:29.547 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.038) 0:00:29.586 ****** 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.079214", "end": "2024-01-11 02:25:36.235500", "rc": 1, "start": "2024-01-11 02:25:36.156286" } STDOUT: Connection 'statebr' (ed894341-58c7-4603-a6a8-fc59b4b21915) successfully deleted. STDERR: (process:29827): GLib-GIO-WARNING **: 02:25:36.215: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/44 but no object proxy exists (process:29827): GLib-GIO-WARNING **: 02:25:36.216: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/39 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.234) 0:00:29.821 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.037) 0:00:29.858 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.022) 0:00:29.881 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.045) 0:00:29.926 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.033) 0:00:29.959 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.033) 0:00:29.992 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2024-01-11 02:25:36.566013", "rc": 0, "start": "2024-01-11 02:25:36.562680" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.135) 0:00:30.128 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.022) 0:00:30.151 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.020) 0:00:30.172 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.044) 0:00:30.217 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.034) 0:00:30.252 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.038) 0:00:30.290 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.049) 0:00:30.340 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.020) 0:00:30.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.021) 0:00:30.382 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:37 +0000 (0:00:00.672) 0:00:31.055 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.914) 0:00:31.969 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.023) 0:00:31.992 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.021) 0:00:32.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.020) 0:00:32.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.042) 0:00:32.077 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.048) 0:00:32.125 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.022) 0:00:32.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.024) 0:00:32.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.223) 0:00:32.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.024) 0:00:32.421 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.019) 0:00:32.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:38 +0000 (0:00:00.021) 0:00:32.462 ****** 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, da59a486-fb63-486c-aa3a-28746f8d360b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.327) 0:00:32.789 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.020) 0:00:32.809 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da59a486-fb63-486c-aa3a-28746f8d360b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.021) 0:00:32.831 ****** 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, da59a486-fb63-486c-aa3a-28746f8d360b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da59a486-fb63-486c-aa3a-28746f8d360b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.022) 0:00:32.853 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.022) 0:00:32.876 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.129) 0:00:33.005 ****** 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, da59a486-fb63-486c-aa3a-28746f8d360b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da59a486-fb63-486c-aa3a-28746f8d360b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.021) 0:00:33.027 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.033) 0:00:33.061 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.065) 0:00:33.126 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.026) 0:00:33.152 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.022) 0:00:33.174 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.021) 0:00:33.195 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:40 +0000 (0:00:00.677) 0:00:33.873 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.915) 0:00:34.789 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.020) 0:00:34.810 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.039) 0:00:34.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.021) 0:00:34.870 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.041) 0:00:34.912 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.019) 0:00:34.932 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.019) 0:00:34.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.023) 0:00:34.975 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.222) 0:00:35.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.024) 0:00:35.222 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.020) 0:00:35.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.019) 0:00:35.261 ****** 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, da59a486-fb63-486c-aa3a-28746f8d360b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.280) 0:00:35.541 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.019) 0:00:35.561 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da59a486-fb63-486c-aa3a-28746f8d360b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.022) 0:00:35.583 ****** 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, da59a486-fb63-486c-aa3a-28746f8d360b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, da59a486-fb63-486c-aa3a-28746f8d360b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.021) 0:00:35.605 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.020) 0:00:35.625 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.130) 0:00:35.756 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.059) 0:00:35.815 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.039) 0:00:35.854 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.025) 0:00:35.880 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.021) 0:00:35.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.020) 0:00:35.922 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.672) 0:00:36.594 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.904) 0:00:37.499 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.041) 0:00:37.541 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.021) 0:00:37.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.020) 0:00:37.582 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.042) 0:00:37.624 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.019) 0:00:37.644 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.020) 0:00:37.664 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.022) 0:00:37.687 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.223) 0:00:37.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.024) 0:00:37.934 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.019) 0:00:37.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.019) 0:00:37.973 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.322) 0:00:38.296 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.020) 0:00:38.316 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.021) 0:00:38.337 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.020) 0:00:38.358 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.019) 0:00:38.378 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.148) 0:00:38.526 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.038) 0:00:38.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.038) 0:00:38.603 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.038) 0:00:38.642 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.024) 0:00:38.667 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.020) 0:00:38.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.020) 0:00:38.707 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:45 +0000 (0:00:00.666) 0:00:39.374 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.909) 0:00:40.283 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.021) 0:00:40.305 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.020) 0:00:40.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.020) 0:00:40.346 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.042) 0:00:40.389 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.020) 0:00:40.409 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.019) 0:00:40.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:46 +0000 (0:00:00.023) 0:00:40.453 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.230) 0:00:40.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.024) 0:00:40.708 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.019) 0:00:40.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.019) 0:00:40.747 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.370) 0:00:41.118 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.046) 0:00:41.164 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.022) 0:00:41.186 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.022) 0:00:41.208 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.020) 0:00:41.228 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.135) 0:00:41.364 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.038) 0:00:41.403 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.035) 0:00:41.438 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.020) 0:00:41.459 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.133) 0:00:41.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.019) 0:00:41.612 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021130", "end": "2024-01-11 02:25:48.201504", "rc": 1, "start": "2024-01-11 02:25:48.180374" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.151) 0:00:41.763 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.021) 0:00:41.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.022) 0:00:41.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.020) 0:00:41.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.020) 0:00:41.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.045) 0:00:41.894 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.023) 0:00:41.918 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.042) 0:00:41.960 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.034) 0:00:41.994 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.132) 0:00:42.127 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.022) 0:00:42.150 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.021) 0:00:42.171 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.037) 0:00:42.209 ****** 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.044372", "end": "2024-01-11 02:25:48.828928", "rc": 1, "start": "2024-01-11 02:25:48.784556" } 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-route_typexmq_wfun/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.181) 0:00:42.391 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.036) 0:00:42.427 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.021) 0:00:42.448 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.045) 0:00:42.494 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.064) 0:00:42.558 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.038) 0:00:42.596 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003203", "end": "2024-01-11 02:25:49.173866", "rc": 0, "start": "2024-01-11 02:25:49.170663" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.139) 0:00:42.736 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.022) 0:00:42.758 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.021) 0:00:42.779 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.047) 0:00:42.826 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.036) 0:00:42.863 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.040) 0:00:42.904 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.026) 0:00:42.930 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.020) 0:00:42.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.020) 0:00:42.970 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.694) 0:00:43.665 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.910) 0:00:44.575 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.021) 0:00:44.597 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.022) 0:00:44.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.019) 0:00:44.639 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.043) 0:00:44.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.020) 0:00:44.702 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.019) 0:00:44.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.024) 0:00:44.747 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.225) 0:00:44.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.026) 0:00:44.998 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.042) 0:00:45.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.020) 0:00:45.061 ****** 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, 5a61c468-e2eb-4197-82f9-427d3f2e4adc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.335) 0:00:45.397 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.022) 0:00:45.420 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a61c468-e2eb-4197-82f9-427d3f2e4adc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.023) 0:00:45.443 ****** 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, 5a61c468-e2eb-4197-82f9-427d3f2e4adc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a61c468-e2eb-4197-82f9-427d3f2e4adc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.034) 0:00:45.478 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.021) 0:00:45.500 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.139) 0:00:45.639 ****** 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, 5a61c468-e2eb-4197-82f9-427d3f2e4adc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a61c468-e2eb-4197-82f9-427d3f2e4adc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.024) 0:00:45.663 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.034) 0:00:45.698 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.038) 0:00:45.737 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.025) 0:00:45.763 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.019) 0:00:45.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.019) 0:00:45.802 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:52 +0000 (0:00:00.702) 0:00:46.504 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:53 +0000 (0:00:00.906) 0:00:47.411 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:53 +0000 (0:00:00.022) 0:00:47.434 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:53 +0000 (0:00:00.020) 0:00:47.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:53 +0000 (0:00:00.025) 0:00:47.480 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:53 +0000 (0:00:00.042) 0:00:47.523 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.020) 0:00:47.543 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.021) 0:00:47.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.030) 0:00:47.595 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.229) 0:00:47.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.025) 0:00:47.850 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.019) 0:00:47.869 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.020) 0:00:47.890 ****** 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, 5a61c468-e2eb-4197-82f9-427d3f2e4adc skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.279) 0:00:48.169 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.020) 0:00:48.190 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a61c468-e2eb-4197-82f9-427d3f2e4adc skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.026) 0:00:48.216 ****** 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, 5a61c468-e2eb-4197-82f9-427d3f2e4adc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5a61c468-e2eb-4197-82f9-427d3f2e4adc skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.023) 0:00:48.239 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.026) 0:00:48.266 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.126) 0:00:48.392 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.036) 0:00:48.429 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.039) 0:00:48.469 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.025) 0:00:48.494 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.019) 0:00:48.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.048) 0:00:48.562 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.668) 0:00:49.231 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.933) 0:00:50.164 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.023) 0:00:50.188 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.023) 0:00:50.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.022) 0:00:50.234 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.051) 0:00:50.286 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.021) 0:00:50.307 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.022) 0:00:50.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.031) 0:00:50.361 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.264) 0:00:50.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.026) 0:00:50.652 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.021) 0:00:50.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.022) 0:00:50.696 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.383) 0:00:51.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.020) 0:00:51.100 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.021) 0:00:51.122 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.022) 0:00:51.145 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.023) 0:00:51.168 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.151) 0:00:51.320 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.055) 0:00:51.375 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.041) 0:00:51.417 ****** included: /WORKDIR/git-route_typexmq_wfun/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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.067) 0:00:51.485 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.026) 0:00:51.512 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.023) 0:00:51.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.021) 0:00:51.557 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.672) 0:00:52.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.904) 0:00:53.134 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.023) 0:00:53.157 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.021) 0:00:53.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.027) 0:00:53.207 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.110) 0:00:53.318 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.032) 0:00:53.350 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.026) 0:00:53.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:59 +0000 (0:00:00.033) 0:00:53.410 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.226) 0:00:53.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.030) 0:00:53.667 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.022) 0:00:53.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.021) 0:00:53.711 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.305) 0:00:54.016 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.020) 0:00:54.037 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.022) 0:00:54.059 ****** 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-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.022) 0:00:54.082 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.021) 0:00:54.104 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.130) 0:00:54.234 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.046) 0:00:54.281 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.069) 0:00:54.350 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.022) 0:00:54.372 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.131) 0:00:54.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.021) 0:00:54.525 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022683", "end": "2024-01-11 02:26:01.120328", "rc": 1, "start": "2024-01-11 02:26:01.097645" } 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-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.162) 0:00:54.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.028) 0:00:54.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.030) 0:00:54.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.028) 0:00:54.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.021) 0:00:54.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.024) 0:00:54.822 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.030) 0:00:54.853 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.676554", "end": "2024-01-11 02:26:02.103502", "rc": 0, "start": "2024-01-11 02:26:01.426948" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.813) 0:00:55.666 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.022) 0:00:55.689 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.020) 0:00:55.710 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.065) 0:00:55.775 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.035) 0:00:55.810 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.137) 0:00:55.947 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.026) 0:00:55.974 ****** 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-route_typexmq_wfun/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.022) 0:00:55.997 ****** included: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.039) 0:00:56.036 ****** 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.045863", "end": "2024-01-11 02:26:02.653018", "rc": 1, "start": "2024-01-11 02:26:02.607155" } 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 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.167) 0:00:56.203 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.78s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.25s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typexmq_wfun/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.12s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.06s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-route_typexmq_wfun/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-route_typexmq_wfun/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. ---^---^---^---^---^---