# 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_typewxzepi6a/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.501) 0:00:00.516 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.021) 0:00:00.538 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.229) 0:00:00.768 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.209) 0:00:00.977 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:29:34 +0000 (0:00:00.019) 0:00:00.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:29:35 +0000 (0:00:00.017) 0:00:01.014 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:29:35 +0000 (0:00:00.031) 0:00:01.045 ******* 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_typewxzepi6a/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:29:35 +0000 (0:00:00.193) 0:00:01.239 ******* 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_typewxzepi6a/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:29:35 +0000 (0:00:00.465) 0:00:01.705 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175881", "end": "2024-01-09 02:29:35.989542", "rc": 0, "start": "2024-01-09 02:29:35.813661" } 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_typewxzepi6a/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.311) 0:00:02.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.038 ******* 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_typewxzepi6a/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.049 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.365) 0:00:02.414 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.009) 0:00:02.424 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.015) 0:00:02.439 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.449 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.031) 0:00:02.481 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.013) 0:00:02.494 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.012) 0:00:02.506 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2024-01-09 02:29:36.601476", "rc": 0, "start": "2024-01-09 02:29:36.598077" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.121) 0:00:02.628 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.639 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.010) 0:00:02.649 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.019) 0:00:02.669 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011081", "end": "2024-01-09 02:29:36.773828", "rc": 1, "start": "2024-01-09 02:29:36.762747" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.130) 0:00:02.799 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.014) 0:00:02.814 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.121) 0:00:02.935 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.011) 0:00:02.947 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.016) 0:00:02.964 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:36 +0000 (0:00:00.031) 0:00:02.995 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:37 +0000 (0:00:00.066) 0:00:03.062 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:37 +0000 (0:00:00.011) 0:00:03.074 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:37 +0000 (0:00:00.009) 0:00:03.083 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:37 +0000 (0:00:00.009) 0:00:03.093 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:37 +0000 (0:00:00.762) 0:00:03.855 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:38 +0000 (0:00:01.081) 0:00:04.936 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:38 +0000 (0:00:00.021) 0:00:04.957 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:38 +0000 (0:00:00.019) 0:00:04.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:38 +0000 (0:00:00.019) 0:00:04.996 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.042) 0:00:05.038 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.021) 0:00:05.059 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.022) 0:00:05.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.027) 0:00:05.109 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.380) 0:00:05.489 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.024) 0:00:05.514 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.020) 0:00:05.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.020) 0:00:05.555 ******* 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, 867851c5-2453-4f45-8927-6947c475bc68 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.429) 0:00:05.985 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:39 +0000 (0:00:00.021) 0:00:06.006 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867851c5-2453-4f45-8927-6947c475bc68" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.022) 0:00:06.028 ******* 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, 867851c5-2453-4f45-8927-6947c475bc68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867851c5-2453-4f45-8927-6947c475bc68" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.044) 0:00:06.073 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.026) 0:00:06.100 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.183) 0:00:06.284 ******* 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, 867851c5-2453-4f45-8927-6947c475bc68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 867851c5-2453-4f45-8927-6947c475bc68" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.022) 0:00:06.306 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.036) 0:00:06.343 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.036) 0:00:06.379 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.020) 0:00:06.399 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767379.965552, "block_size": 4096, "blocks": 8, "ctime": 1704767379.8915524, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767379.8915524, "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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.132) 0:00:06.532 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.022) 0:00:06.554 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021386", "end": "2024-01-09 02:29:40.669185", "rc": 0, "start": "2024-01-09 02:29:40.647799" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.151) 0:00:06.706 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.024) 0:00:06.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.023) 0:00:06.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.026) 0:00:06.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.026) 0:00:06.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.025) 0:00:06.833 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.050) 0:00:06.883 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.027) 0:00:06.910 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.031) 0:00:06.941 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:29:40 +0000 (0:00:00.058) 0:00:07.000 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.051) 0:00:07.051 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767379.8945525, "block_size": 4096, "blocks": 0, "ctime": 1704767379.8935523, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1704767379.8935523, "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_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.166) 0:00:07.218 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.023) 0:00:07.241 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.020) 0:00:07.261 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.037) 0:00:07.299 ******* 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.079845", "end": "2024-01-09 02:29:41.473597", "rc": 1, "start": "2024-01-09 02:29:41.393752" } STDOUT: Connection 'statebr' (867851c5-2453-4f45-8927-6947c475bc68) successfully deleted. STDERR: (process:26522): GLib-GIO-WARNING **: 02:29:41.454: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 but no object proxy exists (process:26522): GLib-GIO-WARNING **: 02:29:41.454: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/55 but no object proxy exists (process:26522): GLib-GIO-WARNING **: 02:29:41.454: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 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_typewxzepi6a/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.211) 0:00:07.510 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.047) 0:00:07.558 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.025) 0:00:07.583 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.043) 0:00:07.627 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.066) 0:00:07.694 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.038) 0:00:07.732 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003361", "end": "2024-01-09 02:29:41.829089", "rc": 0, "start": "2024-01-09 02:29:41.825728" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.132) 0:00:07.865 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.023) 0:00:07.888 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.022) 0:00:07.910 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:29:41 +0000 (0:00:00.042) 0:00:07.953 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007085", "end": "2024-01-09 02:29:42.054034", "rc": 1, "start": "2024-01-09 02:29:42.046949" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.136) 0:00:08.089 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.035) 0:00:08.124 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.137) 0:00:08.262 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.024) 0:00:08.287 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.039) 0:00:08.327 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.061) 0:00:08.389 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.039) 0:00:08.428 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.028) 0:00:08.457 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.023) 0:00:08.481 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:42 +0000 (0:00:00.022) 0:00:08.503 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:43 +0000 (0:00:00.700) 0:00:09.203 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.941) 0:00:10.145 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.030) 0:00:10.176 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.046) 0:00:10.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.022) 0:00:10.244 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.042) 0:00:10.287 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.023) 0:00:10.311 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.021) 0:00:10.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.025) 0:00:10.357 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.225) 0:00:10.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.025) 0:00:10.607 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.019) 0:00:10.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.021) 0:00:10.649 ******* 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, cb43a1f1-a9bf-4dd3-a411-334c306af3f8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.298) 0:00:10.947 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:44 +0000 (0:00:00.034) 0:00:10.981 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb43a1f1-a9bf-4dd3-a411-334c306af3f8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.031) 0:00:11.013 ******* 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, cb43a1f1-a9bf-4dd3-a411-334c306af3f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb43a1f1-a9bf-4dd3-a411-334c306af3f8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.022) 0:00:11.036 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.019) 0:00:11.056 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.126) 0:00:11.182 ******* 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, cb43a1f1-a9bf-4dd3-a411-334c306af3f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb43a1f1-a9bf-4dd3-a411-334c306af3f8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.057) 0:00:11.240 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.050) 0:00:11.291 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.070) 0:00:11.361 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.149) 0:00:11.510 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.026) 0:00:11.536 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.038) 0:00:11.575 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.024) 0:00:11.599 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767384.8835351, "block_size": 4096, "blocks": 8, "ctime": 1704767384.8835351, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767384.8835351, "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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.138) 0:00:11.737 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.033) 0:00:11.771 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020902", "end": "2024-01-09 02:29:45.886868", "rc": 0, "start": "2024-01-09 02:29:45.865966" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.152) 0:00:11.923 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.024) 0:00:11.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.025) 0:00:11.973 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:45 +0000 (0:00:00.031) 0:00:12.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.029) 0:00:12.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.058) 0:00:12.092 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.054) 0:00:12.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.031) 0:00:12.178 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.027) 0:00:12.205 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.025) 0:00:12.231 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.028) 0:00:12.259 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.039) 0:00:12.298 ******* 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.047755", "end": "2024-01-09 02:29:46.441344", "rc": 1, "start": "2024-01-09 02:29:46.393589" } STDOUT: Connection 'statebr' (cb43a1f1-a9bf-4dd3-a411-334c306af3f8) 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_typewxzepi6a/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.179) 0:00:12.478 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.040) 0:00:12.519 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.021) 0:00:12.540 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.043) 0:00:12.583 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.034) 0:00:12.617 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.044) 0:00:12.662 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2024-01-09 02:29:46.761333", "rc": 0, "start": "2024-01-09 02:29:46.757868" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.165) 0:00:12.827 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.024) 0:00:12.852 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.027) 0:00:12.879 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.065) 0:00:12.945 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:46 +0000 (0:00:00.036) 0:00:12.981 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.042) 0:00:13.023 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.025) 0:00:13.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.021) 0:00:13.070 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.020) 0:00:13.091 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:47 +0000 (0:00:00.691) 0:00:13.783 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.953) 0:00:14.736 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.022) 0:00:14.759 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.021) 0:00:14.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.020) 0:00:14.801 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.043) 0:00:14.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.022) 0:00:14.867 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.021) 0:00:14.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:48 +0000 (0:00:00.025) 0:00:14.913 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.225) 0:00:15.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.026) 0:00:15.165 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.021) 0:00:15.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.021) 0:00:15.208 ******* 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, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.375) 0:00:15.583 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.021) 0:00:15.605 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.022) 0:00:15.627 ******* 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, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.024) 0:00:15.652 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.020) 0:00:15.672 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.131) 0:00:15.804 ******* 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, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.022) 0:00:15.826 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.037) 0:00:15.864 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.040) 0:00:15.904 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.038) 0:00:15.943 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.025) 0:00:15.969 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.022) 0:00:15.991 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:49 +0000 (0:00:00.021) 0:00:16.012 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:50 +0000 (0:00:00.699) 0:00:16.712 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.938) 0:00:17.650 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.043) 0:00:17.694 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.035) 0:00:17.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.027) 0:00:17.757 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.049) 0:00:17.807 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.027) 0:00:17.834 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.022) 0:00:17.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:51 +0000 (0:00:00.027) 0:00:17.884 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.254) 0:00:18.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.025) 0:00:18.163 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.022) 0:00:18.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.021) 0:00:18.207 ******* 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, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.280) 0:00:18.488 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.039) 0:00:18.527 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.035) 0:00:18.563 ******* 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, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c061fb4-6c53-4da6-bd17-85b0bd43aa77 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.026) 0:00:18.589 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.022) 0:00:18.611 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.140) 0:00:18.752 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.044) 0:00:18.796 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.034) 0:00:18.831 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767389.4695194, "block_size": 4096, "blocks": 0, "ctime": 1704767389.4685194, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1704767389.4685194, "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_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.134) 0:00:18.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:29:52 +0000 (0:00:00.021) 0:00:18.987 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.060) 0:00:19.047 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.020) 0:00:19.068 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767389.5235193, "block_size": 4096, "blocks": 8, "ctime": 1704767389.4675193, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767389.4675193, "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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.131) 0:00:19.200 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.023) 0:00:19.223 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021686", "end": "2024-01-09 02:29:53.340110", "rc": 0, "start": "2024-01-09 02:29:53.318424" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.154) 0:00:19.378 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.026) 0:00:19.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.025) 0:00:19.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.026) 0:00:19.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.025) 0:00:19.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.023) 0:00:19.506 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.023) 0:00:19.529 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.027) 0:00:19.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.029) 0:00:19.586 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.026) 0:00:19.613 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.024) 0:00:19.638 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.039) 0:00:19.678 ******* 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.077818", "end": "2024-01-09 02:29:53.854055", "rc": 1, "start": "2024-01-09 02:29:53.776237" } STDOUT: Connection 'statebr' (2c061fb4-6c53-4da6-bd17-85b0bd43aa77) 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_typewxzepi6a/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.239) 0:00:19.917 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.036) 0:00:19.953 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:29:53 +0000 (0:00:00.022) 0:00:19.975 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.044) 0:00:20.020 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.034) 0:00:20.054 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.033) 0:00:20.088 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-01-09 02:29:54.189044", "rc": 0, "start": "2024-01-09 02:29:54.185590" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.137) 0:00:20.226 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.022) 0:00:20.248 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.020) 0:00:20.269 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.042) 0:00:20.311 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.035) 0:00:20.346 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.039) 0:00:20.386 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.059) 0:00:20.446 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.026) 0:00:20.472 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:54 +0000 (0:00:00.022) 0:00:20.495 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:55 +0000 (0:00:00.700) 0:00:21.195 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.919) 0:00:22.115 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.021) 0:00:22.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.021) 0:00:22.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.021) 0:00:22.179 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.042) 0:00:22.222 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.044) 0:00:22.266 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.020) 0:00:22.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.024) 0:00:22.312 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.224) 0:00:22.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.025) 0:00:22.562 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.019) 0:00:22.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.020) 0:00:22.601 ******* 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, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.324) 0:00:22.926 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.021) 0:00:22.948 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.022) 0:00:22.970 ******* 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, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.022) 0:00:22.992 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:56 +0000 (0:00:00.019) 0:00:23.012 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.127) 0:00:23.140 ******* 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, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.023) 0:00:23.164 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.035) 0:00:23.199 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.071) 0:00:23.270 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.025) 0:00:23.295 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.021) 0:00:23.317 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:29:57 +0000 (0:00:00.020) 0:00:23.337 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.683) 0:00:24.021 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.919) 0:00:24.940 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.022) 0:00:24.963 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:29:58 +0000 (0:00:00.021) 0:00:24.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.046) 0:00:25.032 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.043) 0:00:25.075 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.021) 0:00:25.097 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.020) 0:00:25.117 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.027) 0:00:25.144 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.235) 0:00:25.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.026) 0:00:25.407 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.023) 0:00:25.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.021) 0:00:25.452 ******* 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, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.275) 0:00:25.727 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.021) 0:00:25.749 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.021) 0:00:25.771 ******* 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, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.022) 0:00:25.793 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.019) 0:00:25.813 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:29:59 +0000 (0:00:00.128) 0:00:25.941 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.084) 0:00:26.026 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.040) 0:00:26.066 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.041) 0:00:26.107 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.032) 0:00:26.140 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.021) 0:00:26.161 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.021) 0:00:26.182 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:00 +0000 (0:00:00.704) 0:00:26.886 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.950) 0:00:27.837 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.024) 0:00:27.861 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.021) 0:00:27.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.023) 0:00:27.906 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.048) 0:00:27.955 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.026) 0:00:27.982 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:01 +0000 (0:00:00.022) 0:00:28.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.025) 0:00:28.029 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.227) 0:00:28.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.024) 0:00:28.281 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.030) 0:00:28.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.025) 0:00:28.337 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.319) 0:00:28.657 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.021) 0:00:28.678 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.022) 0:00:28.701 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.021) 0:00:28.723 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.052) 0:00:28.775 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.132) 0:00:28.907 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.042) 0:00:28.950 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:30:02 +0000 (0:00:00.034) 0:00:28.984 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767396.843494, "block_size": 4096, "blocks": 0, "ctime": 1704767396.836494, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17623, "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": 1704767396.836494, "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_typewxzepi6a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.135) 0:00:29.119 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.025) 0:00:29.145 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.037) 0:00:29.183 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.024) 0:00:29.207 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.132) 0:00:29.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.021) 0:00:29.360 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023242", "end": "2024-01-09 02:30:03.479236", "rc": 1, "start": "2024-01-09 02:30:03.455994" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.155) 0:00:29.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.021) 0:00:29.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.021) 0:00:29.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.020) 0:00:29.579 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.048) 0:00:29.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.021) 0:00:29.649 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.024) 0:00:29.674 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.019) 0:00:29.693 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.020) 0:00:29.714 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.037) 0:00:29.751 ******* 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.080580", "end": "2024-01-09 02:30:03.926736", "rc": 1, "start": "2024-01-09 02:30:03.846156" } STDOUT: Connection 'statebr' (c8f93ed8-d25d-4402-a3d7-6de69b9bfe4e) successfully deleted. STDERR: (process:27858): GLib-GIO-WARNING **: 02:30:03.908: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 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_typewxzepi6a/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.217) 0:00:29.969 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:30:03 +0000 (0:00:00.036) 0:00:30.005 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.021) 0:00:30.026 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.044) 0:00:30.071 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.032) 0:00:30.104 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.032) 0:00:30.137 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003711", "end": "2024-01-09 02:30:04.238933", "rc": 0, "start": "2024-01-09 02:30:04.235222" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.138) 0:00:30.275 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.048) 0:00:30.324 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.021) 0:00:30.345 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.044) 0:00:30.390 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.034) 0:00:30.424 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.038) 0:00:30.463 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.026) 0:00:30.490 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.019) 0:00:30.509 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:04 +0000 (0:00:00.021) 0:00:30.530 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:05 +0000 (0:00:00.676) 0:00:31.207 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.959) 0:00:32.167 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.024) 0:00:32.191 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.021) 0:00:32.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.021) 0:00:32.235 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.043) 0:00:32.278 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.021) 0:00:32.300 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.022) 0:00:32.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.024) 0:00:32.347 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.231) 0:00:32.579 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.026) 0:00:32.605 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.028) 0:00:32.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:06 +0000 (0:00:00.029) 0:00:32.664 ******* 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, 1a770066-c78c-4a52-948a-cb12929e6a4c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.354) 0:00:33.019 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.050) 0:00:33.069 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a770066-c78c-4a52-948a-cb12929e6a4c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.023) 0:00:33.092 ******* 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, 1a770066-c78c-4a52-948a-cb12929e6a4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a770066-c78c-4a52-948a-cb12929e6a4c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.024) 0:00:33.116 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.022) 0:00:33.139 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.138) 0:00:33.278 ******* 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, 1a770066-c78c-4a52-948a-cb12929e6a4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a770066-c78c-4a52-948a-cb12929e6a4c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.027) 0:00:33.305 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.038) 0:00:33.343 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.045) 0:00:33.389 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.026) 0:00:33.416 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.022) 0:00:33.438 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:07 +0000 (0:00:00.024) 0:00:33.462 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:08 +0000 (0:00:00.690) 0:00:34.152 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.960) 0:00:35.113 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.023) 0:00:35.137 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:35.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:35.180 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.044) 0:00:35.224 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.024) 0:00:35.248 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.022) 0:00:35.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.024) 0:00:35.295 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.225) 0:00:35.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.024) 0:00:35.546 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:35.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.021) 0:00:35.588 ******* 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, 1a770066-c78c-4a52-948a-cb12929e6a4c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.298) 0:00:35.887 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.022) 0:00:35.910 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1a770066-c78c-4a52-948a-cb12929e6a4c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.028) 0:00:35.939 ******* 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, 1a770066-c78c-4a52-948a-cb12929e6a4c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1a770066-c78c-4a52-948a-cb12929e6a4c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.024) 0:00:35.964 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:09 +0000 (0:00:00.036) 0:00:36.000 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.135) 0:00:36.135 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.036) 0:00:36.171 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.051) 0:00:36.223 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.045) 0:00:36.268 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.031) 0:00:36.300 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:10 +0000 (0:00:00.030) 0:00:36.330 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.688) 0:00:37.019 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:11 +0000 (0:00:00.991) 0:00:38.011 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.024) 0:00:38.035 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.023) 0:00:38.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.021) 0:00:38.080 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.045) 0:00:38.126 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.022) 0:00:38.149 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.021) 0:00:38.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.026) 0:00:38.197 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.230) 0:00:38.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.024) 0:00:38.452 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.019) 0:00:38.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.046) 0:00:38.519 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.310) 0:00:38.829 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.023) 0:00:38.853 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.024) 0:00:38.877 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.025) 0:00:38.903 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:12 +0000 (0:00:00.022) 0:00:38.925 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.143) 0:00:39.069 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.043) 0:00:39.113 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.053) 0:00:39.166 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.052) 0:00:39.218 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.048) 0:00:39.267 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.024) 0:00:39.291 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.034) 0:00:39.326 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:13 +0000 (0:00:00.678) 0:00:40.004 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.931) 0:00:40.936 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.033) 0:00:40.969 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:14 +0000 (0:00:00.023) 0:00:40.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.032) 0:00:41.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.058) 0:00:41.083 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.022) 0:00:41.106 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.021) 0:00:41.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.033) 0:00:41.161 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.251) 0:00:41.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.024) 0:00:41.437 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.019) 0:00:41.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.019) 0:00:41.476 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.365) 0:00:41.842 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.020) 0:00:41.862 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.021) 0:00:41.884 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.022) 0:00:41.906 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:15 +0000 (0:00:00.021) 0:00:41.927 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.128) 0:00:42.056 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.038) 0:00:42.095 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.035) 0:00:42.131 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:42.152 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.129) 0:00:42.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.049) 0:00:42.331 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019531", "end": "2024-01-09 02:30:16.450920", "rc": 1, "start": "2024-01-09 02:30:16.431389" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.156) 0:00:42.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.023) 0:00:42.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.023) 0:00:42.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.023) 0:00:42.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.021) 0:00:42.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.022) 0:00:42.602 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.024) 0:00:42.626 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.041) 0:00:42.668 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.035) 0:00:42.703 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.136) 0:00:42.839 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.024) 0:00:42.864 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.022) 0:00:42.886 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:16 +0000 (0:00:00.039) 0:00:42.926 ******* 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.041857", "end": "2024-01-09 02:30:17.063594", "rc": 1, "start": "2024-01-09 02:30:17.021737" } 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_typewxzepi6a/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.172) 0:00:43.098 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.035) 0:00:43.134 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.021) 0:00:43.155 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.042) 0:00:43.198 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.033) 0:00:43.231 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.033) 0:00:43.264 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-01-09 02:30:17.363839", "rc": 0, "start": "2024-01-09 02:30:17.360286" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.138) 0:00:43.403 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.022) 0:00:43.426 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.022) 0:00:43.449 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.041) 0:00:43.491 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.035) 0:00:43.526 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.076) 0:00:43.603 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.025) 0:00:43.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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.021) 0:00:43.650 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:17 +0000 (0:00:00.028) 0:00:43.679 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:18 +0000 (0:00:00.690) 0:00:44.369 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.930) 0:00:45.300 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.023) 0:00:45.324 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.041) 0:00:45.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.029) 0:00:45.394 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.099) 0:00:45.494 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.020) 0:00:45.515 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.021) 0:00:45.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.028) 0:00:45.565 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.229) 0:00:45.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.037) 0:00:45.831 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.024) 0:00:45.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:19 +0000 (0:00:00.022) 0:00:45.878 ******* 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, b72680c4-6935-4c0b-b063-3cebd69ed9bd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.324) 0:00:46.203 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:46.225 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b72680c4-6935-4c0b-b063-3cebd69ed9bd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:46.248 ******* 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, b72680c4-6935-4c0b-b063-3cebd69ed9bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b72680c4-6935-4c0b-b063-3cebd69ed9bd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.023) 0:00:46.271 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.021) 0:00:46.293 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.131) 0:00:46.425 ******* 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, b72680c4-6935-4c0b-b063-3cebd69ed9bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b72680c4-6935-4c0b-b063-3cebd69ed9bd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:46.447 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.068) 0:00:46.516 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.066) 0:00:46.583 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.032) 0:00:46.616 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.023) 0:00:46.640 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:20 +0000 (0:00:00.022) 0:00:46.662 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:21 +0000 (0:00:00.699) 0:00:47.362 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.924) 0:00:48.287 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.044) 0:00:48.331 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.021) 0:00:48.353 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.021) 0:00:48.374 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.047) 0:00:48.422 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.021) 0:00:48.444 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.022) 0:00:48.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.024) 0:00:48.490 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.231) 0:00:48.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.025) 0:00:48.747 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.020) 0:00:48.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:22 +0000 (0:00:00.019) 0:00:48.787 ******* 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, b72680c4-6935-4c0b-b063-3cebd69ed9bd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.273) 0:00:49.060 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.022) 0:00:49.083 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b72680c4-6935-4c0b-b063-3cebd69ed9bd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.023) 0:00:49.106 ******* 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, b72680c4-6935-4c0b-b063-3cebd69ed9bd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b72680c4-6935-4c0b-b063-3cebd69ed9bd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.021) 0:00:49.128 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.022) 0:00:49.150 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.158) 0:00:49.309 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.034) 0:00:49.344 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.042) 0:00:49.386 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.026) 0:00:49.413 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.021) 0:00:49.435 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:23 +0000 (0:00:00.021) 0:00:49.456 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:24 +0000 (0:00:00.687) 0:00:50.144 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.956) 0:00:51.101 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.022) 0:00:51.123 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.021) 0:00:51.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.020) 0:00:51.165 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.041) 0:00:51.207 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.020) 0:00:51.227 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.019) 0:00:51.247 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.025) 0:00:51.272 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.228) 0:00:51.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.025) 0:00:51.526 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.019) 0:00:51.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.020) 0:00:51.566 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.368) 0:00:51.935 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.020) 0:00:51.956 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.023) 0:00:51.979 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:25 +0000 (0:00:00.022) 0:00:52.002 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.055) 0:00:52.058 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.132) 0:00:52.191 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.037) 0:00:52.228 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.034) 0:00:52.263 ******* included: /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.039) 0:00:52.302 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.028) 0:00:52.331 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.022) 0:00:52.353 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:30:26 +0000 (0:00:00.019) 0:00:52.373 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:30:27 +0000 (0:00:00.690) 0:00:53.063 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.967) 0:00:54.031 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.023) 0:00:54.054 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.029) 0:00:54.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.021) 0:00:54.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.047) 0:00:54.154 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.021) 0:00:54.176 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.022) 0:00:54.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.025) 0:00:54.224 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.225) 0:00:54.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.025) 0:00:54.475 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.021) 0:00:54.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.020) 0:00:54.517 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.342) 0:00:54.859 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.021) 0:00:54.880 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.022) 0:00:54.903 ******* 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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.022) 0:00:54.925 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:30:28 +0000 (0:00:00.020) 0:00:54.946 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.129) 0:00:55.076 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.042) 0:00:55.119 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.035) 0:00:55.154 ******* 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:00:55.175 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.134) 0:00:55.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.020) 0:00:55.329 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019002", "end": "2024-01-09 02:30:29.442657", "rc": 1, "start": "2024-01-09 02:30:29.423655" } 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_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.150) 0:00:55.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:00:55.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.021) 0:00:55.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.020) 0:00:55.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.046) 0:00:55.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.022) 0:00:55.612 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:30:29 +0000 (0:00:00.025) 0:00:55.637 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.687914", "end": "2024-01-09 02:30:30.419356", "rc": 0, "start": "2024-01-09 02:30:29.731442" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.819) 0:00:56.457 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.024) 0:00:56.482 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.023) 0:00:56.505 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.044) 0:00:56.550 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.036) 0:00:56.586 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.136) 0:00:56.723 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.025) 0:00:56.748 ******* 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_typewxzepi6a/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.022) 0:00:56.770 ******* included: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewxzepi6a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:30:30 +0000 (0:00:00.042) 0:00:56.812 ******* 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.041816", "end": "2024-01-09 02:30:30.952826", "rc": 1, "start": "2024-01-09 02:30:30.911010" } 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 02:30:30 +0000 (0:00:00.169) 0:00:56.982 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.29s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.13s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.08s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/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_typewxzepi6a/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_typewxzepi6a/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_typewxzepi6a/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_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.95s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typewxzepi6a/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_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typewxzepi6a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typewxzepi6a/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. ---^---^---^---^---^---