# 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_typem5f39yv1/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 16:41:14 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typem5f39yv1/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.542) 0:00:00.554 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.021) 0:00:00.576 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.247) 0:00:00.823 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.212) 0:00:01.035 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.021) 0:00:01.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.018) 0:00:01.075 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:41:15 +0000 (0:00:00.031) 0:00:01.107 ******* 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_typem5f39yv1/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.232) 0:00:01.339 ******* 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_typem5f39yv1/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.477) 0:00:01.816 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.184409", "end": "2024-01-09 16:41:16.956981", "rc": 0, "start": "2024-01-09 16:41:16.772572" } 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_typem5f39yv1/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.314) 0:00:02.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:41:16 +0000 (0:00:00.012) 0:00:02.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.013) 0:00:02.156 ******* 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_typem5f39yv1/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.031) 0:00:02.187 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.474) 0:00:02.662 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.011) 0:00:02.673 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.018) 0:00:02.692 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.012) 0:00:02.705 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.048) 0:00:02.753 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.023) 0:00:02.776 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.014) 0:00:02.791 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004152", "end": "2024-01-09 16:41:17.764328", "rc": 0, "start": "2024-01-09 16:41:17.760176" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.143) 0:00:02.934 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.020) 0:00:02.955 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.009) 0:00:02.965 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.020) 0:00:02.986 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012629", "end": "2024-01-09 16:41:17.956495", "rc": 1, "start": "2024-01-09 16:41:17.943866" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:17 +0000 (0:00:00.166) 0:00:03.152 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.028) 0:00:03.180 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.161) 0:00:03.342 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.017) 0:00:03.359 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.037) 0:00:03.397 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.033) 0:00:03.430 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.071) 0:00:03.501 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.013) 0:00:03.515 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.010) 0:00:03.525 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:18 +0000 (0:00:00.026) 0:00:03.552 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:19 +0000 (0:00:00.856) 0:00:04.408 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:20 +0000 (0:00:01.153) 0:00:05.562 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.051) 0:00:05.613 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.061) 0:00:05.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.021) 0:00:05.696 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.049) 0:00:05.746 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.045) 0:00:05.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.044) 0:00:05.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:20 +0000 (0:00:00.028) 0:00:05.863 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.442) 0:00:06.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.035) 0:00:06.342 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.026) 0:00:06.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.029) 0:00:06.398 ******* 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, e099b672-9cb1-4bf0-908d-6ba98f169c8f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.481) 0:00:06.879 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.020) 0:00:06.900 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e099b672-9cb1-4bf0-908d-6ba98f169c8f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.020) 0:00:06.921 ******* 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, e099b672-9cb1-4bf0-908d-6ba98f169c8f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e099b672-9cb1-4bf0-908d-6ba98f169c8f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.043) 0:00:06.965 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:21 +0000 (0:00:00.021) 0:00:06.986 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.207) 0:00:07.194 ******* 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, e099b672-9cb1-4bf0-908d-6ba98f169c8f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e099b672-9cb1-4bf0-908d-6ba98f169c8f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.023) 0:00:07.217 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.039) 0:00:07.256 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.046) 0:00:07.303 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.022) 0:00:07.326 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818481.6287446, "block_size": 4096, "blocks": 8, "ctime": 1704818481.6277447, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818481.6277447, "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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.144) 0:00:07.471 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.024) 0:00:07.495 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026978", "end": "2024-01-09 16:41:22.494324", "rc": 0, "start": "2024-01-09 16:41:22.467346" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.208) 0:00:07.704 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.030) 0:00:07.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.031) 0:00:07.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.031) 0:00:07.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.030) 0:00:07.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.033) 0:00:07.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.027) 0:00:07.889 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.077) 0:00:07.967 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.040) 0:00:08.008 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.046) 0:00:08.054 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:22 +0000 (0:00:00.043) 0:00:08.097 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818481.6317446, "block_size": 4096, "blocks": 0, "ctime": 1704818481.6307447, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17617, "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": 1704818481.6307447, "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_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.159) 0:00:08.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.040) 0:00:08.297 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.038) 0:00:08.336 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.048) 0:00:08.385 ******* 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.089250", "end": "2024-01-09 16:41:23.457237", "rc": 1, "start": "2024-01-09 16:41:23.367987" } STDOUT: Connection 'statebr' (e099b672-9cb1-4bf0-908d-6ba98f169c8f) successfully deleted. STDERR: (process:18401): GLib-GIO-WARNING **: 16:41:23.433: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 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_typem5f39yv1/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.256) 0:00:08.641 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.036) 0:00:08.678 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.021) 0:00:08.700 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.051) 0:00:08.751 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.063) 0:00:08.815 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.036) 0:00:08.852 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004020", "end": "2024-01-09 16:41:23.817913", "rc": 0, "start": "2024-01-09 16:41:23.813893" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.146) 0:00:08.998 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.030) 0:00:09.029 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.058) 0:00:09.087 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:41:23 +0000 (0:00:00.052) 0:00:09.140 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008609", "end": "2024-01-09 16:41:24.115264", "rc": 1, "start": "2024-01-09 16:41:24.106655" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.168) 0:00:09.309 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.035) 0:00:09.345 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.138) 0:00:09.483 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.025) 0:00:09.508 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.045) 0:00:09.554 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.071) 0:00:09.625 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.039) 0:00:09.665 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.027) 0:00:09.692 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.028) 0:00:09.720 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:24 +0000 (0:00:00.030) 0:00:09.751 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:25 +0000 (0:00:00.742) 0:00:10.494 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.965) 0:00:11.459 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.028) 0:00:11.488 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.030) 0:00:11.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.021) 0:00:11.540 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.082) 0:00:11.622 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.052) 0:00:11.675 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.034) 0:00:11.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.036) 0:00:11.746 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.308) 0:00:12.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.040) 0:00:12.096 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:26 +0000 (0:00:00.042) 0:00:12.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.024) 0:00:12.163 ******* 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, c92b7d15-581c-4e02-a248-b072d36a8054 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.405) 0:00:12.569 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.042) 0:00:12.611 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c92b7d15-581c-4e02-a248-b072d36a8054" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.036) 0:00:12.647 ******* 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, c92b7d15-581c-4e02-a248-b072d36a8054\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c92b7d15-581c-4e02-a248-b072d36a8054" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.047) 0:00:12.695 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.027) 0:00:12.722 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.147) 0:00:12.870 ******* 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, c92b7d15-581c-4e02-a248-b072d36a8054\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c92b7d15-581c-4e02-a248-b072d36a8054" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.025) 0:00:12.895 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.062) 0:00:12.957 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:27 +0000 (0:00:00.068) 0:00:13.026 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.159) 0:00:13.186 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.048) 0:00:13.234 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.036) 0:00:13.271 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.026) 0:00:13.297 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818487.3566804, "block_size": 4096, "blocks": 8, "ctime": 1704818487.3566804, "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": 1704818487.3566804, "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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.181) 0:00:13.478 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.023) 0:00:13.502 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024139", "end": "2024-01-09 16:41:28.492960", "rc": 0, "start": "2024-01-09 16:41:28.468821" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.182) 0:00:13.685 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.076) 0:00:13.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.063) 0:00:13.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.039) 0:00:13.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.025) 0:00:13.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.050) 0:00:13.939 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.026) 0:00:13.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.028) 0:00:13.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.074) 0:00:14.068 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.023) 0:00:14.092 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:28 +0000 (0:00:00.022) 0:00:14.115 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.098) 0:00:14.213 ******* 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.051117", "end": "2024-01-09 16:41:29.268303", "rc": 1, "start": "2024-01-09 16:41:29.217186" } STDOUT: Connection 'statebr' (c92b7d15-581c-4e02-a248-b072d36a8054) 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_typem5f39yv1/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.263) 0:00:14.476 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.047) 0:00:14.524 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.046) 0:00:14.570 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.059) 0:00:14.630 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.055) 0:00:14.686 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.033) 0:00:14.719 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-01-09 16:41:29.709300", "rc": 0, "start": "2024-01-09 16:41:29.705151" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.191) 0:00:14.911 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.037) 0:00:14.949 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.043) 0:00:14.992 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.084) 0:00:15.076 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:29 +0000 (0:00:00.038) 0:00:15.115 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.050) 0:00:15.166 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.026) 0:00:15.193 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.025) 0:00:15.218 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.022) 0:00:15.241 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:30 +0000 (0:00:00.791) 0:00:16.032 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.970) 0:00:17.003 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.053) 0:00:17.057 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.022) 0:00:17.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.020) 0:00:17.100 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:31 +0000 (0:00:00.042) 0:00:17.142 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.019) 0:00:17.161 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.020) 0:00:17.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.024) 0:00:17.206 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.240) 0:00:17.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.042) 0:00:17.490 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.040) 0:00:17.531 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.033) 0:00:17.564 ******* 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, 2b407a0e-91db-4e86-aed1-124a893ea3bf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.398) 0:00:17.963 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.022) 0:00:17.985 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b407a0e-91db-4e86-aed1-124a893ea3bf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.022) 0:00:18.007 ******* 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, 2b407a0e-91db-4e86-aed1-124a893ea3bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b407a0e-91db-4e86-aed1-124a893ea3bf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.031) 0:00:18.038 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:32 +0000 (0:00:00.029) 0:00:18.068 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.154) 0:00:18.223 ******* 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, 2b407a0e-91db-4e86-aed1-124a893ea3bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b407a0e-91db-4e86-aed1-124a893ea3bf" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.066) 0:00:18.289 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.061) 0:00:18.350 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.096) 0:00:18.447 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.082) 0:00:18.529 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.048) 0:00:18.578 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.036) 0:00:18.615 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:33 +0000 (0:00:00.024) 0:00:18.639 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:34 +0000 (0:00:00.771) 0:00:19.411 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:35 +0000 (0:00:01.073) 0:00:20.484 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.060) 0:00:20.545 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.022) 0:00:20.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.038) 0:00:20.606 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.044) 0:00:20.650 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.023) 0:00:20.674 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.023) 0:00:20.697 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.046) 0:00:20.744 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.275) 0:00:21.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.054) 0:00:21.074 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.041) 0:00:21.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:35 +0000 (0:00:00.027) 0:00:21.143 ******* 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, 2b407a0e-91db-4e86-aed1-124a893ea3bf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.369) 0:00:21.512 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.070) 0:00:21.583 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b407a0e-91db-4e86-aed1-124a893ea3bf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.075) 0:00:21.658 ******* 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, 2b407a0e-91db-4e86-aed1-124a893ea3bf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b407a0e-91db-4e86-aed1-124a893ea3bf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.034) 0:00:21.693 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.023) 0:00:21.716 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.162) 0:00:21.879 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.069) 0:00:21.949 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.038) 0:00:21.987 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818492.7266202, "block_size": 4096, "blocks": 0, "ctime": 1704818492.7256203, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17617, "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": 1704818492.7256203, "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_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:41:36 +0000 (0:00:00.144) 0:00:22.131 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.024) 0:00:22.156 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.043) 0:00:22.200 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.023) 0:00:22.223 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818492.7246203, "block_size": 4096, "blocks": 8, "ctime": 1704818492.7236204, "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": 1704818492.7236204, "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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.160) 0:00:22.384 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.032) 0:00:22.416 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024255", "end": "2024-01-09 16:41:37.416689", "rc": 0, "start": "2024-01-09 16:41:37.392434" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.209) 0:00:22.626 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.042) 0:00:22.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.092) 0:00:22.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.079) 0:00:22.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.048) 0:00:22.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.045) 0:00:22.935 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.025) 0:00:22.960 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.027) 0:00:22.988 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.023) 0:00:23.012 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.023) 0:00:23.035 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.026) 0:00:23.061 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:37 +0000 (0:00:00.063) 0:00:23.125 ******* 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.081701", "end": "2024-01-09 16:41:38.213354", "rc": 1, "start": "2024-01-09 16:41:38.131653" } STDOUT: Connection 'statebr' (2b407a0e-91db-4e86-aed1-124a893ea3bf) 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_typem5f39yv1/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.273) 0:00:23.398 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.039) 0:00:23.437 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.047) 0:00:23.485 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.046) 0:00:23.532 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.041) 0:00:23.573 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:38 +0000 (0:00:00.085) 0:00:23.658 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005766", "end": "2024-01-09 16:41:39.641322", "rc": 0, "start": "2024-01-09 16:41:38.635556" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:39 +0000 (0:00:01.197) 0:00:24.856 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.065) 0:00:24.921 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.052) 0:00:24.974 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.044) 0:00:25.018 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.038) 0:00:25.057 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:39 +0000 (0:00:00.080) 0:00:25.138 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.074) 0:00:25.212 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.041) 0:00:25.254 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.053) 0:00:25.308 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:40 +0000 (0:00:00.772) 0:00:26.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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:41 +0000 (0:00:00.963) 0:00:27.044 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:41 +0000 (0:00:00.024) 0:00:27.068 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:41 +0000 (0:00:00.032) 0:00:27.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:41 +0000 (0:00:00.036) 0:00:27.137 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.053) 0:00:27.191 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.026) 0:00:27.217 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.023) 0:00:27.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.031) 0:00:27.273 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.248) 0:00:27.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.065) 0:00:27.586 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.025) 0:00:27.611 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.034) 0:00:27.646 ******* 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, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.355) 0:00:28.002 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.026) 0:00:28.029 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.029) 0:00:28.059 ******* 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, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.040) 0:00:28.099 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:42 +0000 (0:00:00.037) 0:00:28.137 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.164) 0:00:28.301 ******* 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, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.027) 0:00:28.329 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.038) 0:00:28.368 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.042) 0:00:28.410 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.033) 0:00:28.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.026) 0:00:28.470 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:43 +0000 (0:00:00.038) 0:00:28.508 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:44 +0000 (0:00:00.785) 0:00:29.293 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.970) 0:00:30.263 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.047) 0:00:30.311 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.022) 0:00:30.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.046) 0:00:30.380 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.069) 0:00:30.449 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.022) 0:00:30.472 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.021) 0:00:30.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.035) 0:00:30.529 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.384) 0:00:30.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.060) 0:00:30.975 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.070) 0:00:31.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:45 +0000 (0:00:00.036) 0:00:31.081 ******* 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, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.369) 0:00:31.451 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.039) 0:00:31.490 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.047) 0:00:31.538 ******* 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, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7cff3b42-8dd7-4531-aa68-91504e2c5aeb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.051) 0:00:31.589 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.046) 0:00:31.636 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.156) 0:00:31.793 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.066) 0:00:31.859 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.043) 0:00:31.903 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.075) 0:00:31.978 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.052) 0:00:32.030 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.062) 0:00:32.093 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:46 +0000 (0:00:00.025) 0:00:32.118 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:47 +0000 (0:00:00.760) 0:00:32.879 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.953) 0:00:33.833 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.059) 0:00:33.893 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.047) 0:00:33.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.034) 0:00:33.974 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.059) 0:00:34.034 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.036) 0:00:34.070 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:48 +0000 (0:00:00.034) 0:00:34.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.051) 0:00:34.156 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.380) 0:00:34.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.029) 0:00:34.566 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.030) 0:00:34.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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.034) 0:00:34.632 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.344) 0:00:34.977 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.038) 0:00:35.015 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.026) 0:00:35.042 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.025) 0:00:35.068 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:49 +0000 (0:00:00.030) 0:00:35.098 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.160) 0:00:35.259 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.062) 0:00:35.321 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.040) 0:00:35.361 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818502.7695076, "block_size": 4096, "blocks": 0, "ctime": 1704818502.7655077, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1704818502.7655077, "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_typem5f39yv1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.181) 0:00:35.542 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.033) 0:00:35.576 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.078) 0:00:35.654 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.022) 0:00:35.677 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.149) 0:00:35.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.021) 0:00:35.847 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024825", "end": "2024-01-09 16:41:50.838280", "rc": 1, "start": "2024-01-09 16:41:50.813455" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.183) 0:00:36.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.040) 0:00:36.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:41:50 +0000 (0:00:00.038) 0:00:36.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.052) 0:00:36.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.033) 0:00:36.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.025) 0:00:36.221 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.026) 0:00:36.248 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.033) 0:00:36.282 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.066) 0:00:36.349 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.089) 0:00:36.438 ******* 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.090107", "end": "2024-01-09 16:41:51.569430", "rc": 1, "start": "2024-01-09 16:41:51.479323" } STDOUT: Connection 'statebr' (7cff3b42-8dd7-4531-aa68-91504e2c5aeb) successfully deleted. STDERR: (process:19734): GLib-GIO-WARNING **: 16:41:51.544: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 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_typem5f39yv1/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.312) 0:00:36.751 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.081) 0:00:36.833 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.060) 0:00:36.894 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.052) 0:00:36.946 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.046) 0:00:36.993 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:41:51 +0000 (0:00:00.040) 0:00:37.033 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004568", "end": "2024-01-09 16:41:51.996585", "rc": 0, "start": "2024-01-09 16:41:51.992017" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.149) 0:00:37.183 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.033) 0:00:37.216 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.041) 0:00:37.257 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.048) 0:00:37.305 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.037) 0:00:37.343 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.053) 0:00:37.396 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.026) 0:00:37.422 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.020) 0:00:37.443 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:52 +0000 (0:00:00.050) 0:00:37.493 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:53 +0000 (0:00:00.733) 0:00:38.227 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.936) 0:00:39.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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.021) 0:00:39.185 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.020) 0:00:39.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.019) 0:00:39.225 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.043) 0:00:39.269 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.020) 0:00:39.289 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.020) 0:00:39.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.053) 0:00:39.363 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.277) 0:00:39.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.056) 0:00:39.697 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.045) 0:00:39.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.026) 0:00:39.769 ******* 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, f7b3fd2e-1611-4a0a-b749-4069c4dd0912 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.351) 0:00:40.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:54 +0000 (0:00:00.022) 0:00:40.144 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f7b3fd2e-1611-4a0a-b749-4069c4dd0912" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.031) 0:00:40.175 ******* 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, f7b3fd2e-1611-4a0a-b749-4069c4dd0912\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f7b3fd2e-1611-4a0a-b749-4069c4dd0912" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.022) 0:00:40.198 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.020) 0:00:40.218 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.154) 0:00:40.373 ******* 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, f7b3fd2e-1611-4a0a-b749-4069c4dd0912\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f7b3fd2e-1611-4a0a-b749-4069c4dd0912" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.055) 0:00:40.429 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.072) 0:00:40.502 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.111) 0:00:40.614 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.123) 0:00:40.737 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.024) 0:00:40.762 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:55 +0000 (0:00:00.024) 0:00:40.786 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:56 +0000 (0:00:00.776) 0:00:41.563 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:41:57 +0000 (0:00:01.004) 0:00:42.568 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.035) 0:00:42.603 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.040) 0:00:42.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.023) 0:00:42.667 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.046) 0:00:42.714 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.044) 0:00:42.759 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.051) 0:00:42.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:41:57 +0000 (0:00:00.052) 0:00:42.863 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.341) 0:00:43.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.047) 0:00:43.252 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.044) 0:00:43.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.063) 0:00:43.360 ******* 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, f7b3fd2e-1611-4a0a-b749-4069c4dd0912 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.350) 0:00:43.711 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.048) 0:00:43.760 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f7b3fd2e-1611-4a0a-b749-4069c4dd0912 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.027) 0:00:43.788 ******* 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, f7b3fd2e-1611-4a0a-b749-4069c4dd0912 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f7b3fd2e-1611-4a0a-b749-4069c4dd0912 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.026) 0:00:43.814 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.021) 0:00:43.835 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.133) 0:00:43.969 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.034) 0:00:44.004 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.037) 0:00:44.041 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.025) 0:00:44.067 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.022) 0:00:44.089 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:41:58 +0000 (0:00:00.031) 0:00:44.121 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:41:59 +0000 (0:00:00.846) 0:00:44.967 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.973) 0:00:45.941 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.043) 0:00:45.984 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.054) 0:00:46.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.038) 0:00:46.077 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:00 +0000 (0:00:00.068) 0:00:46.146 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.062) 0:00:46.209 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.074) 0:00:46.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.048) 0:00:46.332 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.272) 0:00:46.604 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.112) 0:00:46.717 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.062) 0:00:46.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:01 +0000 (0:00:00.026) 0:00:46.806 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.352) 0:00:47.159 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.030) 0:00:47.189 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.032) 0:00:47.221 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.027) 0:00:47.249 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.023) 0:00:47.272 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.154) 0:00:47.427 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.053) 0:00:47.480 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.058) 0:00:47.539 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.057) 0:00:47.596 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.031) 0:00:47.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.065) 0:00:47.693 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:42:02 +0000 (0:00:00.056) 0:00:47.749 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:42:03 +0000 (0:00:00.762) 0:00:48.512 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.965) 0:00:49.478 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.023) 0:00:49.502 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.030) 0:00:49.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.047) 0:00:49.580 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.097) 0:00:49.678 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.045) 0:00:49.723 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.061) 0:00:49.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:04 +0000 (0:00:00.064) 0:00:49.848 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.310) 0:00:50.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.083) 0:00:50.242 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.027) 0:00:50.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.028) 0:00:50.298 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.464) 0:00:50.762 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.046) 0:00:50.809 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.046) 0:00:50.855 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.027) 0:00:50.882 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.031) 0:00:50.914 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.175) 0:00:51.090 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:42:05 +0000 (0:00:00.043) 0:00:51.133 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.041) 0:00:51.175 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.044) 0:00:51.219 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.171) 0:00:51.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.044) 0:00:51.435 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023740", "end": "2024-01-09 16:42:06.439766", "rc": 1, "start": "2024-01-09 16:42:06.416026" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.257) 0:00:51.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.073) 0:00:51.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.034) 0:00:51.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.042) 0:00:51.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.060) 0:00:51.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.045) 0:00:51.949 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.065) 0:00:52.015 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:42:06 +0000 (0:00:00.088) 0:00:52.103 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.138) 0:00:52.242 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.207) 0:00:52.449 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.058) 0:00:52.507 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.060) 0:00:52.567 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.056) 0:00:52.624 ******* 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.047144", "end": "2024-01-09 16:42:07.691269", "rc": 1, "start": "2024-01-09 16:42:07.644125" } 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_typem5f39yv1/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.263) 0:00:52.888 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.071) 0:00:52.959 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.026) 0:00:52.986 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.047) 0:00:53.034 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.039) 0:00:53.073 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:42:07 +0000 (0:00:00.036) 0:00:53.109 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004345", "end": "2024-01-09 16:42:08.076320", "rc": 0, "start": "2024-01-09 16:42:08.071975" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.148) 0:00:53.258 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.022) 0:00:53.281 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.021) 0:00:53.303 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.056) 0:00:53.359 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.043) 0:00:53.403 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.055) 0:00:53.459 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.026) 0:00:53.485 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.077) 0:00:53.563 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:42:08 +0000 (0:00:00.034) 0:00:53.598 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:42:09 +0000 (0:00:00.738) 0:00:54.336 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.938) 0:00:55.275 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.023) 0:00:55.299 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.032) 0:00:55.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.024) 0:00:55.356 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.087) 0:00:55.443 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.035) 0:00:55.478 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.027) 0:00:55.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.054) 0:00:55.560 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.252) 0:00:55.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.053) 0:00:55.865 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.026) 0:00:55.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:10 +0000 (0:00:00.024) 0:00:55.916 ******* 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, 56d0db56-7f8c-4f26-a2b3-2896e2278355 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.366) 0:00:56.282 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.025) 0:00:56.308 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.037) 0:00:56.345 ******* 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, 56d0db56-7f8c-4f26-a2b3-2896e2278355\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.039) 0:00:56.385 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.034) 0:00:56.419 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.153) 0:00:56.573 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.029) 0:00:56.602 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.036) 0:00:56.639 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.043) 0:00:56.682 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.027) 0:00:56.710 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.073) 0:00:56.784 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:42:11 +0000 (0:00:00.022) 0:00:56.807 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:42:12 +0000 (0:00:00.753) 0:00:57.560 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:13 +0000 (0:00:01.024) 0:00:58.585 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.075) 0:00:58.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.074) 0:00:58.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.057) 0:00:58.792 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.064) 0:00:58.857 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.036) 0:00:58.893 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.037) 0:00:58.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:13 +0000 (0:00:00.045) 0:00:58.976 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.275) 0:00:59.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.030) 0:00:59.282 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.022) 0:00:59.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.024) 0:00:59.330 ******* 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, 56d0db56-7f8c-4f26-a2b3-2896e2278355 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.330) 0:00:59.660 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.025) 0:00:59.686 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.034) 0:00:59.720 ******* 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, 56d0db56-7f8c-4f26-a2b3-2896e2278355 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 56d0db56-7f8c-4f26-a2b3-2896e2278355 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.048) 0:00:59.769 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.042) 0:00:59.811 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.206) 0:01:00.018 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.045) 0:01:00.063 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:14 +0000 (0:00:00.068) 0:01:00.131 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.030) 0:01:00.162 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.025) 0:01:00.188 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.031) 0:01:00.219 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:42:15 +0000 (0:00:00.804) 0:01:01.024 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.936) 0:01:01.961 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.025) 0:01:01.986 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.030) 0:01:02.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.034) 0:01:02.051 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.067) 0:01:02.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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:16 +0000 (0:00:00.033) 0:01:02.152 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.038) 0:01:02.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.047) 0:01:02.238 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.302) 0:01:02.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.032) 0:01:02.574 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.046) 0:01:02.621 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.022) 0:01:02.643 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.426) 0:01:03.070 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.023) 0:01:03.094 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:17 +0000 (0:00:00.025) 0:01:03.120 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.048) 0:01:03.168 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.034) 0:01:03.203 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.165) 0:01:03.368 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.042) 0:01:03.410 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.037) 0:01:03.448 ******* included: /WORKDIR/git-route_typem5f39yv1/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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.039) 0:01:03.488 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.026) 0:01:03.514 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.053) 0:01:03.567 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:42:18 +0000 (0:00:00.022) 0:01:03.590 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:42:19 +0000 (0:00:00.744) 0:01:04.334 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.967) 0:01:05.302 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.078) 0:01:05.381 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.029) 0:01:05.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.037) 0:01:05.448 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.047) 0:01:05.495 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.021) 0:01:05.517 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.020) 0:01:05.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.050) 0:01:05.588 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.256) 0:01:05.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.041) 0:01:05.886 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.047) 0:01:05.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:42:20 +0000 (0:00:00.060) 0:01:05.995 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.368) 0:01:06.363 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.031) 0:01:06.394 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.030) 0:01:06.425 ******* 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_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.036) 0:01:06.462 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.028) 0:01:06.491 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.143) 0:01:06.634 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.057) 0:01:06.692 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.063) 0:01:06.755 ******* 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.043) 0:01:06.799 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.142) 0:01:06.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:42:21 +0000 (0:00:00.068) 0:01:07.010 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023080", "end": "2024-01-09 16:42:21.994924", "rc": 1, "start": "2024-01-09 16:42:21.971844" } 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_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.184) 0:01:07.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.034) 0:01:07.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.027) 0:01:07.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.047) 0:01:07.304 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.054) 0:01:07.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.042) 0:01:07.401 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 16:42:22 +0000 (0:00:00.034) 0:01:07.435 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.686142", "end": "2024-01-09 16:42:23.091154", "rc": 0, "start": "2024-01-09 16:42:22.405012" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.869) 0:01:08.305 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.060) 0:01:08.366 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.041) 0:01:08.407 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.071) 0:01:08.479 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.079) 0:01:08.559 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.219) 0:01:08.779 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.034) 0:01:08.813 ******* 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_typem5f39yv1/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.023) 0:01:08.837 ******* included: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.043) 0:01:08.880 ******* 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.052502", "end": "2024-01-09 16:42:23.921732", "rc": 1, "start": "2024-01-09 16:42:23.869230" } 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 Tuesday 09 January 2024 16:42:23 +0000 (0:00:00.234) 0:01:09.115 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.95s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.28s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-route_typem5f39yv1/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typem5f39yv1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typem5f39yv1/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. ---^---^---^---^---^---