# 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_typen6p3c49o/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/tests_states_nm.yml:5 Thursday 21 December 2023 16:55: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_typen6p3c49o/tests/tests_states_nm.yml:9 Thursday 21 December 2023 16:55:34 +0000 (0:00:00.555) 0:00:00.571 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:55:34 +0000 (0:00:00.023) 0:00:00.595 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:55:34 +0000 (0:00:00.228) 0:00:00.824 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.190) 0:00:01.014 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.020) 0:00:01.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.018) 0:00:01.053 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.032) 0:00:01.085 ***** 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_typen6p3c49o/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.179) 0:00:01.265 ***** 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_typen6p3c49o/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:55:35 +0000 (0:00:00.458) 0:00:01.724 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175298", "end": "2023-12-21 16:55:36.045489", "rc": 0, "start": "2023-12-21 16:55:35.870191" } 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_typen6p3c49o/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.303) 0:00:02.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.013) 0:00:02.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/tests_states_nm.yml:11 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.011) 0:00:02.052 ***** 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_typen6p3c49o/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.013) 0:00:02.065 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.401) 0:00:02.466 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.020) 0:00:02.486 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.028) 0:00:02.515 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.024) 0:00:02.539 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.065) 0:00:02.604 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.028) 0:00:02.632 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.015) 0:00:02.648 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2023-12-21 16:55:36.832421", "rc": 0, "start": "2023-12-21 16:55:36.828931" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.185) 0:00:02.833 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.032) 0:00:02.866 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.014) 0:00:02.881 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:55:36 +0000 (0:00:00.021) 0:00:02.903 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010800", "end": "2023-12-21 16:55:37.065987", "rc": 1, "start": "2023-12-21 16:55:37.055187" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.159) 0:00:03.062 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.037) 0:00:03.100 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.185) 0:00:03.286 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.035) 0:00:03.321 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.019) 0:00:03.341 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.041) 0:00:03.382 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.124) 0:00:03.507 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.025) 0:00:03.532 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.032) 0:00:03.564 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:37 +0000 (0:00:00.019) 0:00:03.584 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:38 +0000 (0:00:00.790) 0:00:04.374 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:55:39 +0000 (0:00:01.139) 0:00:05.514 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.047) 0:00:05.562 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.021) 0:00:05.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.020) 0:00:05.604 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.041) 0:00:05.645 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.019) 0:00:05.666 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.021) 0:00:05.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:55:39 +0000 (0:00:00.028) 0:00:05.716 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.364) 0:00:06.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.023) 0:00:06.104 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.019) 0:00:06.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.024) 0:00:06.148 ***** 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, b86201ae-81ea-4646-bc80-91818202a40f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.474) 0:00:06.622 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.025) 0:00:06.647 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86201ae-81ea-4646-bc80-91818202a40f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.024) 0:00:06.672 ***** 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, b86201ae-81ea-4646-bc80-91818202a40f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86201ae-81ea-4646-bc80-91818202a40f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.051) 0:00:06.724 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.024) 0:00:06.749 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:55:40 +0000 (0:00:00.192) 0:00:06.941 ***** 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, b86201ae-81ea-4646-bc80-91818202a40f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86201ae-81ea-4646-bc80-91818202a40f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.040) 0:00:06.981 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.055) 0:00:07.036 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.048) 0:00:07.085 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.022) 0:00:07.107 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177740.6364837, "block_size": 4096, "blocks": 8, "ctime": 1703177740.555486, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177740.555486, "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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.161) 0:00:07.269 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.023) 0:00:07.293 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025212", "end": "2023-12-21 16:55:41.479759", "rc": 0, "start": "2023-12-21 16:55:41.454547" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.180) 0:00:07.474 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.035) 0:00:07.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.023) 0:00:07.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.024) 0:00:07.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.023) 0:00:07.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.023) 0:00:07.604 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.024) 0:00:07.629 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.068) 0:00:07.697 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.024) 0:00:07.721 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.044) 0:00:07.766 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.036) 0:00:07.802 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177740.5614858, "block_size": 4096, "blocks": 0, "ctime": 1703177740.5574858, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17740, "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": 1703177740.5574858, "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_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:55:41 +0000 (0:00:00.157) 0:00:07.960 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.024) 0:00:07.984 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.021) 0:00:08.006 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.040) 0:00:08.046 ***** 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.079061", "end": "2023-12-21 16:55:42.266408", "rc": 1, "start": "2023-12-21 16:55:42.187347" } STDOUT: Connection 'statebr' (b86201ae-81ea-4646-bc80-91818202a40f) successfully deleted. STDERR: (process:1373): GLib-GIO-WARNING **: 16:55:42.241: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/45 but no object proxy exists (process:1373): GLib-GIO-WARNING **: 16:55:42.242: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/87 but no object proxy exists (process:1373): GLib-GIO-WARNING **: 16:55:42.242: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/54 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_typen6p3c49o/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.216) 0:00:08.263 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.041) 0:00:08.304 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.026) 0:00:08.331 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.050) 0:00:08.382 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.073) 0:00:08.456 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.033) 0:00:08.490 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003269", "end": "2023-12-21 16:55:42.633850", "rc": 0, "start": "2023-12-21 16:55:42.630581" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.137) 0:00:08.627 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.026) 0:00:08.654 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.022) 0:00:08.677 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.043) 0:00:08.721 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007091", "end": "2023-12-21 16:55:42.878085", "rc": 1, "start": "2023-12-21 16:55:42.870994" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.160) 0:00:08.881 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:55:42 +0000 (0:00:00.047) 0:00:08.929 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.131) 0:00:09.060 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.025) 0:00:09.085 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.045) 0:00:09.130 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.049) 0:00:09.180 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.076) 0:00:09.256 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.025) 0:00:09.282 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.020) 0:00:09.302 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:43 +0000 (0:00:00.019) 0:00:09.322 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:44 +0000 (0:00:00.689) 0:00:10.011 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:55:44 +0000 (0:00:00.909) 0:00:10.921 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:55:44 +0000 (0:00:00.022) 0:00:10.944 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:55:44 +0000 (0:00:00.020) 0:00:10.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.040) 0:00:11.004 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.043) 0:00:11.048 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.023) 0:00:11.071 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.022) 0:00:11.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.029) 0:00:11.123 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.227) 0:00:11.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.041) 0:00:11.392 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.024) 0:00:11.416 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.034) 0:00:11.451 ***** 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, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.298) 0:00:11.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.019) 0:00:11.769 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.020) 0:00:11.790 ***** 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, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.021) 0:00:11.812 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.020) 0:00:11.832 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:55:45 +0000 (0:00:00.125) 0:00:11.957 ***** 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, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98e005d9-8cb3-4e86-8e48-47ab11bf94f6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.022) 0:00:11.979 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.069) 0:00:12.049 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.037) 0:00:12.086 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.131) 0:00:12.218 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.028) 0:00:12.246 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.038) 0:00:12.285 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.022) 0:00:12.307 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177745.7423375, "block_size": 4096, "blocks": 8, "ctime": 1703177745.7423375, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25408, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177745.7423375, "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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.131) 0:00:12.438 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.022) 0:00:12.461 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023473", "end": "2023-12-21 16:55:46.626062", "rc": 0, "start": "2023-12-21 16:55:46.602589" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.173) 0:00:12.635 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.045) 0:00:12.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.031) 0:00:12.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.032) 0:00:12.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.041) 0:00:12.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.034) 0:00:12.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.052) 0:00:12.872 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.024) 0:00:12.897 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.023) 0:00:12.920 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.019) 0:00:12.940 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:55:46 +0000 (0:00:00.023) 0:00:12.963 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.045) 0:00:13.008 ***** 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.053465", "end": "2023-12-21 16:55:47.215537", "rc": 1, "start": "2023-12-21 16:55:47.162072" } STDOUT: Connection 'statebr' (98e005d9-8cb3-4e86-8e48-47ab11bf94f6) 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_typen6p3c49o/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.198) 0:00:13.207 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.049) 0:00:13.257 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.040) 0:00:13.298 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.081) 0:00:13.380 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.041) 0:00:13.421 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.034) 0:00:13.456 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003407", "end": "2023-12-21 16:55:47.611034", "rc": 0, "start": "2023-12-21 16:55:47.607627" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.144) 0:00:13.600 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.023) 0:00:13.624 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.051) 0:00:13.675 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.048) 0:00:13.724 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.035) 0:00:13.760 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.040) 0:00:13.800 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.027) 0:00:13.827 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.020) 0:00:13.848 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:47 +0000 (0:00:00.020) 0:00:13.869 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:48 +0000 (0:00:00.681) 0:00:14.550 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.955) 0:00:15.506 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.030) 0:00:15.536 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.021) 0:00:15.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.021) 0:00:15.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.041) 0:00:15.621 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.037) 0:00:15.659 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.021) 0:00:15.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.026) 0:00:15.707 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.227) 0:00:15.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:55:49 +0000 (0:00:00.027) 0:00:15.962 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.022) 0:00:15.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.020) 0:00:16.005 ***** 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, f4548817-440d-488c-887a-55da9ea77e2c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.350) 0:00:16.355 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.023) 0:00:16.379 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4548817-440d-488c-887a-55da9ea77e2c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.081) 0:00:16.460 ***** 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, f4548817-440d-488c-887a-55da9ea77e2c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4548817-440d-488c-887a-55da9ea77e2c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.032) 0:00:16.492 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.051) 0:00:16.544 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.162) 0:00:16.707 ***** 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, f4548817-440d-488c-887a-55da9ea77e2c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4548817-440d-488c-887a-55da9ea77e2c" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.037) 0:00:16.744 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.041) 0:00:16.785 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.040) 0:00:16.826 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.038) 0:00:16.865 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.025) 0:00:16.890 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.021) 0:00:16.912 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:50 +0000 (0:00:00.020) 0:00:16.933 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:51 +0000 (0:00:00.679) 0:00:17.612 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.943) 0:00:18.556 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.024) 0:00:18.580 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.022) 0:00:18.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.020) 0:00:18.623 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.044) 0:00:18.667 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.022) 0:00:18.690 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.049) 0:00:18.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:55:52 +0000 (0:00:00.031) 0:00:18.771 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.221) 0:00:18.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.031) 0:00:19.024 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.025) 0:00:19.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.045) 0:00:19.095 ***** 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, f4548817-440d-488c-887a-55da9ea77e2c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.285) 0:00:19.380 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.056) 0:00:19.436 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f4548817-440d-488c-887a-55da9ea77e2c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.031) 0:00:19.468 ***** 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, f4548817-440d-488c-887a-55da9ea77e2c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f4548817-440d-488c-887a-55da9ea77e2c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.026) 0:00:19.495 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.030) 0:00:19.525 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.150) 0:00:19.675 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.063) 0:00:19.739 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:55:53 +0000 (0:00:00.076) 0:00:19.816 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177750.3022068, "block_size": 4096, "blocks": 0, "ctime": 1703177750.299207, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17740, "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": 1703177750.299207, "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_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.174) 0:00:19.990 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.023) 0:00:20.014 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.052) 0:00:20.067 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.089 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177750.298207, "block_size": 4096, "blocks": 8, "ctime": 1703177750.2972069, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25428, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177750.2972069, "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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.133) 0:00:20.222 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.048) 0:00:20.271 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024030", "end": "2023-12-21 16:55:54.436458", "rc": 0, "start": "2023-12-21 16:55:54.412428" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.156) 0:00:20.427 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.024) 0:00:20.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.025) 0:00:20.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.024) 0:00:20.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.546 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.591 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.021) 0:00:20.613 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.019) 0:00:20.632 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.022) 0:00:20.655 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.045) 0:00:20.700 ***** 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.080219", "end": "2023-12-21 16:55:54.922795", "rc": 1, "start": "2023-12-21 16:55:54.842576" } STDOUT: Connection 'statebr' (f4548817-440d-488c-887a-55da9ea77e2c) successfully deleted. STDERR: (process:2088): GLib-GIO-WARNING **: 16:55:54.902: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/46 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_typen6p3c49o/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.211) 0:00:20.911 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:55:54 +0000 (0:00:00.038) 0:00:20.950 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.068) 0:00:21.018 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.050) 0:00:21.069 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.034) 0:00:21.104 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.033) 0:00:21.138 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2023-12-21 16:55:55.282593", "rc": 0, "start": "2023-12-21 16:55:55.279269" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.150) 0:00:21.288 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.058) 0:00:21.347 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.025) 0:00:21.372 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.042) 0:00:21.414 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.036) 0:00:21.451 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.042) 0:00:21.494 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.025) 0:00:21.520 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.020) 0:00:21.540 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:55 +0000 (0:00:00.021) 0:00:21.561 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:56 +0000 (0:00:00.748) 0:00:22.310 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.956) 0:00:23.266 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.031) 0:00:23.298 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.025) 0:00:23.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.027) 0:00:23.351 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.074) 0:00:23.425 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.024) 0:00:23.450 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.021) 0:00:23.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.024) 0:00:23.496 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.233) 0:00:23.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.047) 0:00:23.777 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.021) 0:00:23.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:55:57 +0000 (0:00:00.019) 0:00:23.819 ***** 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, d8560da0-e68a-4c00-b36f-65e3facb38f8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.343) 0:00:24.162 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.023) 0:00:24.185 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8560da0-e68a-4c00-b36f-65e3facb38f8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.025) 0:00:24.210 ***** 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, d8560da0-e68a-4c00-b36f-65e3facb38f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8560da0-e68a-4c00-b36f-65e3facb38f8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.023) 0:00:24.233 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.020) 0:00:24.254 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.125) 0:00:24.380 ***** 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, d8560da0-e68a-4c00-b36f-65e3facb38f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d8560da0-e68a-4c00-b36f-65e3facb38f8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.022) 0:00:24.402 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.034) 0:00:24.436 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.037) 0:00:24.474 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.025) 0:00:24.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.022) 0:00:24.522 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:55:58 +0000 (0:00:00.023) 0:00:24.545 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:55:59 +0000 (0:00:00.707) 0:00:25.253 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.914) 0:00:26.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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.027) 0:00:26.194 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.030) 0:00:26.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.026) 0:00:26.251 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.057) 0:00:26.308 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.024) 0:00:26.332 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.038) 0:00:26.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.044) 0:00:26.416 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.244) 0:00:26.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.075) 0:00:26.736 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.039) 0:00:26.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:00 +0000 (0:00:00.023) 0:00:26.798 ***** 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, d8560da0-e68a-4c00-b36f-65e3facb38f8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.290) 0:00:27.089 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.023) 0:00:27.113 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d8560da0-e68a-4c00-b36f-65e3facb38f8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.028) 0:00:27.141 ***** 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, d8560da0-e68a-4c00-b36f-65e3facb38f8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d8560da0-e68a-4c00-b36f-65e3facb38f8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.022) 0:00:27.163 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.023) 0:00:27.187 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.167) 0:00:27.355 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.061) 0:00:27.417 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.081) 0:00:27.498 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.056) 0:00:27.555 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.045) 0:00:27.600 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.059) 0:00:27.660 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:01 +0000 (0:00:00.022) 0:00:27.682 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:02 +0000 (0:00:00.672) 0:00:28.355 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.901) 0:00:29.257 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.020) 0:00:29.277 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.020) 0:00:29.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.020) 0:00:29.318 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.042) 0:00:29.360 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.023) 0:00:29.384 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.028) 0:00:29.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.056) 0:00:29.469 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.276) 0:00:29.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.028) 0:00:29.774 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.030) 0:00:29.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:03 +0000 (0:00:00.025) 0:00:29.831 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.338) 0:00:30.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.022) 0:00:30.192 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.027) 0:00:30.219 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.023) 0:00:30.242 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.020) 0:00:30.263 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.138) 0:00:30.401 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.054) 0:00:30.455 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.036) 0:00:30.492 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177758.114983, "block_size": 4096, "blocks": 0, "ctime": 1703177758.1109834, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17744, "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": 1703177758.1109834, "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_typen6p3c49o/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.180) 0:00:30.672 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.026) 0:00:30.699 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.040) 0:00:30.740 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.023) 0:00:30.764 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.128) 0:00:30.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:56:04 +0000 (0:00:00.020) 0:00:30.912 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023962", "end": "2023-12-21 16:56:05.090028", "rc": 1, "start": "2023-12-21 16:56:05.066066" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.166) 0:00:31.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.024) 0:00:31.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.025) 0:00:31.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.025) 0:00:31.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.024) 0:00:31.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.023) 0:00:31.202 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.028) 0:00:31.231 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.021) 0:00:31.252 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.044) 0:00:31.296 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.040) 0:00:31.337 ***** 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.074808", "end": "2023-12-21 16:56:05.554642", "rc": 1, "start": "2023-12-21 16:56:05.479834" } STDOUT: Connection 'statebr' (d8560da0-e68a-4c00-b36f-65e3facb38f8) successfully deleted. STDERR: (process:2707): GLib-GIO-WARNING **: 16:56:05.532: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/47 but no object proxy exists (process:2707): GLib-GIO-WARNING **: 16:56:05.532: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/56 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_typen6p3c49o/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.217) 0:00:31.554 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.039) 0:00:31.593 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.023) 0:00:31.617 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.054) 0:00:31.672 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.036) 0:00:31.708 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.040) 0:00:31.749 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003531", "end": "2023-12-21 16:56:05.897161", "rc": 0, "start": "2023-12-21 16:56:05.893630" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.136) 0:00:31.886 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.022) 0:00:31.908 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:56:05 +0000 (0:00:00.021) 0:00:31.930 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.043) 0:00:31.973 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.038) 0:00:32.012 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.078) 0:00:32.091 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.032) 0:00:32.123 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.026) 0:00:32.150 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.027) 0:00:32.177 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.683) 0:00:32.861 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.946) 0:00:33.807 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.025) 0:00:33.833 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.038) 0:00:33.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.022) 0:00:33.893 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.075) 0:00:33.969 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.021) 0:00:33.990 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.022) 0:00:34.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.027) 0:00:34.039 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.248) 0:00:34.288 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.026) 0:00:34.314 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.022) 0:00:34.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.043) 0:00:34.380 ***** 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, d95f2196-913a-4482-b265-5b1f16016f8b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.369) 0:00:34.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.020) 0:00:34.770 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95f2196-913a-4482-b265-5b1f16016f8b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.023) 0:00:34.794 ***** 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, d95f2196-913a-4482-b265-5b1f16016f8b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95f2196-913a-4482-b265-5b1f16016f8b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.028) 0:00:34.823 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.024) 0:00:34.848 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.127) 0:00:34.975 ***** 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, d95f2196-913a-4482-b265-5b1f16016f8b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95f2196-913a-4482-b265-5b1f16016f8b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.022) 0:00:34.997 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.063) 0:00:35.060 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.039) 0:00:35.100 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.026) 0:00:35.126 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.025) 0:00:35.152 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.021) 0:00:35.173 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.672) 0:00:35.846 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.911) 0:00:36.757 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.026) 0:00:36.784 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.024) 0:00:36.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.067) 0:00:36.876 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.060) 0:00:36.937 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.023) 0:00:36.960 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.020) 0:00:36.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.027) 0:00:37.008 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.252) 0:00:37.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.047) 0:00:37.308 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.038) 0:00:37.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.048) 0:00:37.395 ***** 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, d95f2196-913a-4482-b265-5b1f16016f8b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.336) 0:00:37.731 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.087) 0:00:37.818 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d95f2196-913a-4482-b265-5b1f16016f8b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.052) 0:00:37.871 ***** 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, d95f2196-913a-4482-b265-5b1f16016f8b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d95f2196-913a-4482-b265-5b1f16016f8b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.031) 0:00:37.903 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:11 +0000 (0:00:00.024) 0:00:37.927 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.133) 0:00:38.061 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.042) 0:00:38.103 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.075) 0:00:38.179 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.033) 0:00:38.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.023) 0:00:38.236 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:12 +0000 (0:00:00.064) 0:00:38.300 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:13 +0000 (0:00:00.695) 0:00:38.996 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:13 +0000 (0:00:00.917) 0:00:39.913 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:13 +0000 (0:00:00.023) 0:00:39.937 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.032) 0:00:39.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.023) 0:00:39.993 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.043) 0:00:40.036 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.096) 0:00:40.133 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.022) 0:00:40.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.024) 0:00:40.180 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.229) 0:00:40.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.025) 0:00:40.435 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.019) 0:00:40.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.020) 0:00:40.475 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.335) 0:00:40.811 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.024) 0:00:40.835 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.026) 0:00:40.861 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.031) 0:00:40.893 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.026) 0:00:40.919 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.127) 0:00:41.047 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.039) 0:00:41.087 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.075) 0:00:41.163 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.043) 0:00:41.206 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.034) 0:00:41.241 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.023) 0:00:41.264 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.020) 0:00:41.285 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.667) 0:00:41.952 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:16 +0000 (0:00:00.931) 0:00:42.884 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:16 +0000 (0:00:00.046) 0:00:42.930 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.083) 0:00:43.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.025) 0:00:43.039 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.062) 0:00:43.102 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.052) 0:00:43.154 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.023) 0:00:43.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.043) 0:00:43.221 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.234) 0:00:43.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.033) 0:00:43.490 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.033) 0:00:43.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:17 +0000 (0:00:00.035) 0:00:43.559 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.431) 0:00:43.990 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.038) 0:00:44.029 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.061) 0:00:44.091 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.031) 0:00:44.122 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.023) 0:00:44.145 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.127) 0:00:44.272 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.087) 0:00:44.360 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.043) 0:00:44.403 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.022) 0:00:44.426 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.130) 0:00:44.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.025) 0:00:44.581 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022749", "end": "2023-12-21 16:56:18.778194", "rc": 1, "start": "2023-12-21 16:56:18.755445" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.202) 0:00:44.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.044) 0:00:44.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.039) 0:00:44.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.032) 0:00:44.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.036) 0:00:44.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.036) 0:00:44.974 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.062) 0:00:45.036 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.064) 0:00:45.101 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.118) 0:00:45.220 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.233) 0:00:45.454 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.036) 0:00:45.490 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.040) 0:00:45.530 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.055) 0:00:45.585 ***** 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.047353", "end": "2023-12-21 16:56:19.798446", "rc": 1, "start": "2023-12-21 16:56:19.751093" } 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_typen6p3c49o/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.206) 0:00:45.792 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.047) 0:00:45.840 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.029) 0:00:45.870 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:56:19 +0000 (0:00:00.086) 0:00:45.957 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.062) 0:00:46.020 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.049) 0:00:46.069 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2023-12-21 16:56:20.216869", "rc": 0, "start": "2023-12-21 16:56:20.213404" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.155) 0:00:46.225 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.072) 0:00:46.297 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.051) 0:00:46.348 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.099) 0:00:46.448 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.071) 0:00:46.520 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.047) 0:00:46.567 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.028) 0:00:46.595 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.022) 0:00:46.617 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:20 +0000 (0:00:00.021) 0:00:46.639 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:21 +0000 (0:00:00.681) 0:00:47.321 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.979) 0:00:48.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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.047) 0:00:48.348 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.036) 0:00:48.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.051) 0:00:48.436 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.109) 0:00:48.546 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.052) 0:00:48.599 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.055) 0:00:48.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.045) 0:00:48.700 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.231) 0:00:48.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:22 +0000 (0:00:00.033) 0:00:48.964 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.024) 0:00:48.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.028) 0:00:49.018 ***** 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, 7f5da1c4-a059-49d6-a790-17b040d59070 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.363) 0:00:49.382 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.042) 0:00:49.425 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.024) 0:00:49.449 ***** 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, 7f5da1c4-a059-49d6-a790-17b040d59070\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.022) 0:00:49.472 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.051) 0:00:49.524 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.131) 0:00:49.656 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.025) 0:00:49.681 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.046) 0:00:49.727 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.065) 0:00:49.793 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.039) 0:00:49.832 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.036) 0:00:49.869 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.032) 0:00:49.901 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:24 +0000 (0:00:00.687) 0:00:50.589 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.950) 0:00:51.539 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.030) 0:00:51.570 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.027) 0:00:51.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.023) 0:00:51.620 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.053) 0:00:51.674 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.022) 0:00:51.697 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.023) 0:00:51.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.027) 0:00:51.747 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.248) 0:00:51.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.053) 0:00:52.049 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.027) 0:00:52.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.034) 0:00:52.111 ***** 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, 7f5da1c4-a059-49d6-a790-17b040d59070 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.299) 0:00:52.410 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.020) 0:00:52.431 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.051) 0:00:52.482 ***** 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, 7f5da1c4-a059-49d6-a790-17b040d59070 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f5da1c4-a059-49d6-a790-17b040d59070 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.022) 0:00:52.505 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.020) 0:00:52.525 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.125) 0:00:52.651 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.036) 0:00:52.687 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.041) 0:00:52.729 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.027) 0:00:52.756 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.023) 0:00:52.780 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:26 +0000 (0:00:00.020) 0:00:52.801 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:27 +0000 (0:00:00.672) 0:00:53.473 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.925) 0:00:54.399 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.022) 0:00:54.421 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.020) 0:00:54.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.022) 0:00:54.463 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.042) 0:00:54.506 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.022) 0:00:54.528 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.024) 0:00:54.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.026) 0:00:54.580 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.221) 0:00:54.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.026) 0:00:54.827 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.022) 0:00:54.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:28 +0000 (0:00:00.020) 0:00:54.870 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.444) 0:00:55.315 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.021) 0:00:55.336 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.021) 0:00:55.358 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.022) 0:00:55.381 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.022) 0:00:55.403 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.125) 0:00:55.529 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.038) 0:00:55.568 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.036) 0:00:55.604 ***** included: /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.041) 0:00:55.646 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.038) 0:00:55.684 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.022) 0:00:55.707 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:29 +0000 (0:00:00.021) 0:00:55.729 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:30 +0000 (0:00:00.697) 0:00:56.426 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.907) 0:00:57.333 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.021) 0:00:57.355 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.020) 0:00:57.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.022) 0:00:57.399 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.045) 0:00:57.445 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.023) 0:00:57.468 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.022) 0:00:57.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.024) 0:00:57.515 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.233) 0:00:57.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.028) 0:00:57.777 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.055) 0:00:57.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:31 +0000 (0:00:00.026) 0:00:57.859 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.311) 0:00:58.171 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.021) 0:00:58.192 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.023) 0:00:58.215 ***** 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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.023) 0:00:58.239 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.034) 0:00:58.273 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.149) 0:00:58.423 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.072) 0:00:58.496 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.052) 0:00:58.548 ***** 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.022) 0:00:58.571 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.133) 0:00:58.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.035) 0:00:58.740 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022313", "end": "2023-12-21 16:56:32.904461", "rc": 1, "start": "2023-12-21 16:56:32.882148" } 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_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.180) 0:00:58.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.051) 0:00:58.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.022) 0:00:58.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.023) 0:00:59.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.021) 0:00:59.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.023) 0:00:59.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.023) 0:00:59.087 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.670995", "end": "2023-12-21 16:56:33.901832", "rc": 0, "start": "2023-12-21 16:56:33.230837" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.839) 0:00:59.927 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.037) 0:00:59.964 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.029) 0:00:59.993 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.049) 0:01:00.043 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.070) 0:01:00.114 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.202) 0:01:00.317 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.048) 0:01:00.366 ***** 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_typen6p3c49o/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.066) 0:01:00.432 ***** included: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6p3c49o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.086) 0:01:00.519 ***** 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.049100", "end": "2023-12-21 16:56:34.799161", "rc": 1, "start": "2023-12-21 16:56:34.750061" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.273) 0:01:00.792 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.90s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.30s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.14s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.97s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/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_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typen6p3c49o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-route_typen6p3c49o/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. ---^---^---^---^---^---