# 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-nm_plugin_hotfix8taec5z5/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tests_states_nm.yml:6 Monday 19 February 2024 22:13:05 +0000 (0:00:00.034) 0:00:00.034 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tests_states_nm.yml:9 Monday 19 February 2024 22:13:05 +0000 (0:00:00.825) 0:00:00.860 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 22:13:06 +0000 (0:00:00.173) 0:00:01.033 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 22:13:06 +0000 (0:00:00.280) 0:00:01.314 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 22:13:06 +0000 (0:00:00.267) 0:00:01.581 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 22:13:06 +0000 (0:00:00.026) 0:00:01.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 22:13:06 +0000 (0:00:00.032) 0:00:01.640 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 22:13:06 +0000 (0:00:00.036) 0:00:01.677 ******* 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-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 22:13:06 +0000 (0:00:00.205) 0:00:01.882 ******* 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-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 22:13:07 +0000 (0:00:00.531) 0:00:02.414 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192832", "end": "2024-02-19 22:13:07.826188", "rc": 0, "start": "2024-02-19 22:13:07.633356" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 22:13:07 +0000 (0:00:00.368) 0:00:02.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 22:13:07 +0000 (0:00:00.019) 0:00:02.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/tests_states_nm.yml:11 Monday 19 February 2024 22:13:07 +0000 (0:00:00.022) 0:00:02.824 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 22:13:07 +0000 (0:00:00.031) 0:00:02.855 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 22:13:08 +0000 (0:00:00.572) 0:00:03.427 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 22:13:08 +0000 (0:00:00.056) 0:00:03.483 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:08 +0000 (0:00:00.053) 0:00:03.537 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:08 +0000 (0:00:00.067) 0:00:03.604 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:08 +0000 (0:00:00.148) 0:00:03.753 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:08 +0000 (0:00:00.080) 0:00:03.833 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:08 +0000 (0:00:00.028) 0:00:03.861 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-02-19 22:13:09.104666", "rc": 0, "start": "2024-02-19 22:13:09.101189" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:09 +0000 (0:00:00.216) 0:00:04.078 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:09 +0000 (0:00:00.027) 0:00:04.106 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:09 +0000 (0:00:00.019) 0:00:04.125 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.035) 0:00:04.161 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010511", "end": "2024-02-19 22:13:09.357499", "rc": 1, "start": "2024-02-19 22:13:09.346988" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.164) 0:00:04.325 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.031) 0:00:04.357 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:13:09 +0000 (0:00:00.179) 0:00:04.536 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:09 +0000 (0:00:00.027) 0:00:04.563 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.042) 0:00:04.605 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:09 +0000 (0:00:00.079) 0:00:04.685 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:09 +0000 (0:00:00.078) 0:00:04.763 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:09 +0000 (0:00:00.016) 0:00:04.780 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:09 +0000 (0:00:00.032) 0:00:04.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:09 +0000 (0:00:00.035) 0:00:04.847 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:10 +0000 (0:00:00.862) 0:00:05.710 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:11 +0000 (0:00:01.068) 0:00:06.779 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:11 +0000 (0:00:00.026) 0:00:06.805 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:11 +0000 (0:00:00.020) 0:00:06.825 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:11 +0000 (0:00:00.021) 0:00:06.847 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:11 +0000 (0:00:00.077) 0:00:06.924 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:12 +0000 (0:00:00.049) 0:00:06.974 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:12 +0000 (0:00:00.041) 0:00:07.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:12 +0000 (0:00:00.104) 0:00:07.121 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:12 +0000 (0:00:00.456) 0:00:07.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:12 +0000 (0:00:00.028) 0:00:07.605 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:12 +0000 (0:00:00.020) 0:00:07.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:12 +0000 (0:00:00.020) 0:00:07.646 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b55737e6-7637-40ed-aab6-1bd0262ef08a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:13 +0000 (0:00:00.510) 0:00:08.157 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:13 +0000 (0:00:00.046) 0:00:08.204 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b55737e6-7637-40ed-aab6-1bd0262ef08a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:13 +0000 (0:00:00.054) 0:00:08.258 ******* 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, b55737e6-7637-40ed-aab6-1bd0262ef08a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b55737e6-7637-40ed-aab6-1bd0262ef08a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:13 +0000 (0:00:00.048) 0:00:08.306 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:13 +0000 (0:00:00.058) 0:00:08.365 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:13:13 +0000 (0:00:00.254) 0:00:08.620 ******* 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, b55737e6-7637-40ed-aab6-1bd0262ef08a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b55737e6-7637-40ed-aab6-1bd0262ef08a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:13 +0000 (0:00:00.047) 0:00:08.668 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:13:13 +0000 (0:00:00.056) 0:00:08.724 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:13 +0000 (0:00:00.071) 0:00:08.796 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:13 +0000 (0:00:00.036) 0:00:08.833 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380793.166198, "block_size": 4096, "blocks": 8, "ctime": 1708380793.0812004, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380793.0812004, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:14 +0000 (0:00:00.167) 0:00:09.001 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:14 +0000 (0:00:00.044) 0:00:09.045 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023724", "end": "2024-02-19 22:13:14.254155", "rc": 0, "start": "2024-02-19 22:13:14.230431" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:14 +0000 (0:00:00.183) 0:00:09.228 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:14 +0000 (0:00:00.038) 0:00:09.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:14 +0000 (0:00:00.029) 0:00:09.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:14 +0000 (0:00:00.116) 0:00:09.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:14 +0000 (0:00:00.078) 0:00:09.492 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:13:14 +0000 (0:00:00.073) 0:00:09.566 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:13:14 +0000 (0:00:00.046) 0:00:09.612 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:13:14 +0000 (0:00:00.052) 0:00:09.664 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:14 +0000 (0:00:00.038) 0:00:09.703 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:13:14 +0000 (0:00:00.045) 0:00:09.748 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:14 +0000 (0:00:00.090) 0:00:09.839 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380793.0842001, "block_size": 4096, "blocks": 0, "ctime": 1708380793.0832002, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17595, "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": 1708380793.0832002, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:13:15 +0000 (0:00:00.219) 0:00:10.058 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:15 +0000 (0:00:00.050) 0:00:10.108 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:15 +0000 (0:00:00.061) 0:00:10.170 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:15 +0000 (0:00:00.150) 0:00:10.320 ******* 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.079133", "end": "2024-02-19 22:13:15.631285", "rc": 1, "start": "2024-02-19 22:13:15.552152" } STDOUT: Connection 'statebr' (b55737e6-7637-40ed-aab6-1bd0262ef08a) successfully deleted. STDERR: (process:22335): GLib-GIO-WARNING **: 22:13:15.608: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:22335): GLib-GIO-WARNING **: 22:13:15.609: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 22:13:15 +0000 (0:00:00.308) 0:00:10.629 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:15 +0000 (0:00:00.066) 0:00:10.695 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:15 +0000 (0:00:00.058) 0:00:10.753 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:16 +0000 (0:00:00.188) 0:00:10.942 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.053) 0:00:10.995 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.066) 0:00:11.061 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003521", "end": "2024-02-19 22:13:16.254804", "rc": 0, "start": "2024-02-19 22:13:16.251283" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:16 +0000 (0:00:00.183) 0:00:11.244 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:16 +0000 (0:00:00.034) 0:00:11.279 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:16 +0000 (0:00:00.045) 0:00:11.324 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.100) 0:00:11.425 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007300", "end": "2024-02-19 22:13:16.680424", "rc": 1, "start": "2024-02-19 22:13:16.673124" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.287) 0:00:11.712 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:16 +0000 (0:00:00.115) 0:00:11.828 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:13:17 +0000 (0:00:00.175) 0:00:12.003 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:17 +0000 (0:00:00.067) 0:00:12.070 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 22:13:17 +0000 (0:00:00.100) 0:00:12.171 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:17 +0000 (0:00:00.066) 0:00:12.237 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:17 +0000 (0:00:00.054) 0:00:12.291 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:17 +0000 (0:00:00.065) 0:00:12.357 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:17 +0000 (0:00:00.100) 0:00:12.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:17 +0000 (0:00:00.091) 0:00:12.548 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:18 +0000 (0:00:00.797) 0:00:13.346 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:19 +0000 (0:00:01.041) 0:00:14.387 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:19 +0000 (0:00:00.079) 0:00:14.467 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:19 +0000 (0:00:00.078) 0:00:14.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:19 +0000 (0:00:00.036) 0:00:14.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:19 +0000 (0:00:00.146) 0:00:14.728 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:19 +0000 (0:00:00.154) 0:00:14.883 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:19 +0000 (0:00:00.051) 0:00:14.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:20 +0000 (0:00:00.090) 0:00:15.024 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:20 +0000 (0:00:00.310) 0:00:15.335 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:20 +0000 (0:00:00.042) 0:00:15.377 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:20 +0000 (0:00:00.025) 0:00:15.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:20 +0000 (0:00:00.054) 0:00:15.457 ******* 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, b9b79d18-db70-484a-a6a7-ea1230e84dab TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:21 +0000 (0:00:00.539) 0:00:15.997 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:21 +0000 (0:00:00.056) 0:00:16.053 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9b79d18-db70-484a-a6a7-ea1230e84dab" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:21 +0000 (0:00:00.026) 0:00:16.079 ******* 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, b9b79d18-db70-484a-a6a7-ea1230e84dab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9b79d18-db70-484a-a6a7-ea1230e84dab" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:21 +0000 (0:00:00.050) 0:00:16.130 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:21 +0000 (0:00:00.055) 0:00:16.185 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 22:13:21 +0000 (0:00:00.182) 0:00:16.368 ******* 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, b9b79d18-db70-484a-a6a7-ea1230e84dab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9b79d18-db70-484a-a6a7-ea1230e84dab" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:21 +0000 (0:00:00.038) 0:00:16.407 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:13:21 +0000 (0:00:00.096) 0:00:16.503 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:21 +0000 (0:00:00.036) 0:00:16.540 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:13:21 +0000 (0:00:00.164) 0:00:16.705 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:13:21 +0000 (0:00:00.034) 0:00:16.739 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:21 +0000 (0:00:00.050) 0:00:16.789 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:21 +0000 (0:00:00.053) 0:00:16.843 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380800.9929805, "block_size": 4096, "blocks": 8, "ctime": 1708380800.9929805, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380800.9929805, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:22 +0000 (0:00:00.152) 0:00:16.996 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:22 +0000 (0:00:00.022) 0:00:17.019 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021454", "end": "2024-02-19 22:13:22.205423", "rc": 0, "start": "2024-02-19 22:13:22.183969" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:22 +0000 (0:00:00.151) 0:00:17.170 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:22 +0000 (0:00:00.032) 0:00:17.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:22 +0000 (0:00:00.028) 0:00:17.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:22 +0000 (0:00:00.023) 0:00:17.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:22 +0000 (0:00:00.037) 0:00:17.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:13:22 +0000 (0:00:00.056) 0:00:17.348 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:13:22 +0000 (0:00:00.027) 0:00:17.375 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:13:22 +0000 (0:00:00.027) 0:00:17.403 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:22 +0000 (0:00:00.024) 0:00:17.427 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:22 +0000 (0:00:00.021) 0:00:17.449 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:22 +0000 (0:00:00.026) 0:00:17.475 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:22 +0000 (0:00:00.160) 0:00:17.636 ******* 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.046807", "end": "2024-02-19 22:13:22.874441", "rc": 1, "start": "2024-02-19 22:13:22.827634" } STDOUT: Connection 'statebr' (b9b79d18-db70-484a-a6a7-ea1230e84dab) 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 22:13:22 +0000 (0:00:00.269) 0:00:17.905 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:23 +0000 (0:00:00.082) 0:00:17.988 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:23 +0000 (0:00:00.068) 0:00:18.057 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:23 +0000 (0:00:00.228) 0:00:18.285 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:23 +0000 (0:00:00.156) 0:00:18.442 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:23 +0000 (0:00:00.132) 0:00:18.575 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003387", "end": "2024-02-19 22:13:23.782442", "rc": 0, "start": "2024-02-19 22:13:23.779055" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:23 +0000 (0:00:00.198) 0:00:18.773 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:23 +0000 (0:00:00.051) 0:00:18.825 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:23 +0000 (0:00:00.094) 0:00:18.919 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:13:24 +0000 (0:00:00.057) 0:00:18.977 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:24 +0000 (0:00:00.053) 0:00:19.030 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:24 +0000 (0:00:00.051) 0:00:19.082 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:24 +0000 (0:00:00.051) 0:00:19.133 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:24 +0000 (0:00:00.059) 0:00:19.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:24 +0000 (0:00:00.050) 0:00:19.243 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:25 +0000 (0:00:00.779) 0:00:20.023 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:25 +0000 (0:00:00.736) 0:00:20.760 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:25 +0000 (0:00:00.096) 0:00:20.856 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:26 +0000 (0:00:00.215) 0:00:21.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:26 +0000 (0:00:00.043) 0:00:21.116 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:26 +0000 (0:00:00.076) 0:00:21.192 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:26 +0000 (0:00:00.052) 0:00:21.245 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:26 +0000 (0:00:00.070) 0:00:21.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:26 +0000 (0:00:00.057) 0:00:21.373 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:26 +0000 (0:00:00.449) 0:00:21.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:26 +0000 (0:00:00.077) 0:00:21.900 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:27 +0000 (0:00:00.069) 0:00:21.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:27 +0000 (0:00:00.069) 0:00:22.039 ******* 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, bb50e732-1968-4484-8bcc-2af6ec4e985b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:27 +0000 (0:00:00.477) 0:00:22.517 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:27 +0000 (0:00:00.037) 0:00:22.555 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb50e732-1968-4484-8bcc-2af6ec4e985b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:27 +0000 (0:00:00.040) 0:00:22.595 ******* 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, bb50e732-1968-4484-8bcc-2af6ec4e985b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb50e732-1968-4484-8bcc-2af6ec4e985b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:27 +0000 (0:00:00.064) 0:00:22.659 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:27 +0000 (0:00:00.061) 0:00:22.721 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:13:28 +0000 (0:00:00.258) 0:00:22.980 ******* 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, bb50e732-1968-4484-8bcc-2af6ec4e985b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb50e732-1968-4484-8bcc-2af6ec4e985b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:28 +0000 (0:00:00.097) 0:00:23.078 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:13:28 +0000 (0:00:00.116) 0:00:23.195 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:28 +0000 (0:00:00.046) 0:00:23.241 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:28 +0000 (0:00:00.041) 0:00:23.282 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:28 +0000 (0:00:00.037) 0:00:23.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:28 +0000 (0:00:00.039) 0:00:23.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:28 +0000 (0:00:00.041) 0:00:23.401 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:29 +0000 (0:00:00.761) 0:00:24.163 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:29 +0000 (0:00:00.721) 0:00:24.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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:29 +0000 (0:00:00.039) 0:00:24.924 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:30 +0000 (0:00:00.076) 0:00:25.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:30 +0000 (0:00:00.154) 0:00:25.155 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:30 +0000 (0:00:00.090) 0:00:25.246 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:30 +0000 (0:00:00.024) 0:00:25.270 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:30 +0000 (0:00:00.049) 0:00:25.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:30 +0000 (0:00:00.057) 0:00:25.378 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:30 +0000 (0:00:00.289) 0:00:25.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:30 +0000 (0:00:00.039) 0:00:25.706 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:30 +0000 (0:00:00.039) 0:00:25.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:30 +0000 (0:00:00.026) 0:00:25.772 ******* 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, bb50e732-1968-4484-8bcc-2af6ec4e985b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:31 +0000 (0:00:00.345) 0:00:26.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:31 +0000 (0:00:00.056) 0:00:26.175 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb50e732-1968-4484-8bcc-2af6ec4e985b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:31 +0000 (0:00:00.030) 0:00:26.205 ******* 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, bb50e732-1968-4484-8bcc-2af6ec4e985b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb50e732-1968-4484-8bcc-2af6ec4e985b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:31 +0000 (0:00:00.032) 0:00:26.238 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:31 +0000 (0:00:00.040) 0:00:26.278 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:31 +0000 (0:00:00.161) 0:00:26.440 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:13:31 +0000 (0:00:00.081) 0:00:26.522 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:31 +0000 (0:00:00.088) 0:00:26.610 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380807.4798002, "block_size": 4096, "blocks": 0, "ctime": 1708380807.4688005, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17595, "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": 1708380807.4688005, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:13:31 +0000 (0:00:00.138) 0:00:26.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 22:13:31 +0000 (0:00:00.023) 0:00:26.773 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:31 +0000 (0:00:00.039) 0:00:26.812 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:31 +0000 (0:00:00.026) 0:00:26.839 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380807.4678006, "block_size": 4096, "blocks": 8, "ctime": 1708380807.4668007, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604795, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708380807.4668007, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:32 +0000 (0:00:00.142) 0:00:26.981 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:32 +0000 (0:00:00.022) 0:00:27.003 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022733", "end": "2024-02-19 22:13:32.191683", "rc": 0, "start": "2024-02-19 22:13:32.168950" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:32 +0000 (0:00:00.152) 0:00:27.156 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:32 +0000 (0:00:00.025) 0:00:27.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:32 +0000 (0:00:00.024) 0:00:27.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:32 +0000 (0:00:00.026) 0:00:27.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:32 +0000 (0:00:00.025) 0:00:27.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 22:13:32 +0000 (0:00:00.028) 0:00:27.287 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 22:13:32 +0000 (0:00:00.030) 0:00:27.317 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 22:13:32 +0000 (0:00:00.046) 0:00:27.364 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:32 +0000 (0:00:00.040) 0:00:27.404 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:32 +0000 (0:00:00.056) 0:00:27.461 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:32 +0000 (0:00:00.031) 0:00:27.493 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:32 +0000 (0:00:00.053) 0:00:27.546 ******* 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.079199", "end": "2024-02-19 22:13:32.791196", "rc": 1, "start": "2024-02-19 22:13:32.711997" } STDOUT: Connection 'statebr' (bb50e732-1968-4484-8bcc-2af6ec4e985b) successfully deleted. STDERR: (process:23104): GLib-GIO-WARNING **: 22:13:32.768: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:23104): GLib-GIO-WARNING **: 22:13:32.768: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 22:13:32 +0000 (0:00:00.225) 0:00:27.772 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:32 +0000 (0:00:00.053) 0:00:27.825 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:32 +0000 (0:00:00.025) 0:00:27.850 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:33 +0000 (0:00:00.093) 0:00:27.944 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:33 +0000 (0:00:00.052) 0:00:27.997 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:33 +0000 (0:00:00.093) 0:00:28.091 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004588", "end": "2024-02-19 22:13:34.290724", "rc": 0, "start": "2024-02-19 22:13:33.286136" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:34 +0000 (0:00:01.181) 0:00:29.273 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:34 +0000 (0:00:00.022) 0:00:29.295 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:34 +0000 (0:00:00.029) 0:00:29.324 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:13:34 +0000 (0:00:00.069) 0:00:29.394 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:34 +0000 (0:00:00.050) 0:00:29.444 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:34 +0000 (0:00:00.043) 0:00:29.487 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:34 +0000 (0:00:00.042) 0:00:29.530 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:34 +0000 (0:00:00.023) 0:00:29.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:34 +0000 (0:00:00.059) 0:00:29.613 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:35 +0000 (0:00:00.780) 0:00:30.394 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:36 +0000 (0:00:00.726) 0:00:31.120 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:36 +0000 (0:00:00.048) 0:00:31.169 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:36 +0000 (0:00:00.044) 0:00:31.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:36 +0000 (0:00:00.024) 0:00:31.238 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:36 +0000 (0:00:00.072) 0:00:31.310 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:36 +0000 (0:00:00.022) 0:00:31.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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:36 +0000 (0:00:00.028) 0:00:31.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:36 +0000 (0:00:00.042) 0:00:31.403 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:36 +0000 (0:00:00.271) 0:00:31.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:36 +0000 (0:00:00.083) 0:00:31.758 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:36 +0000 (0:00:00.032) 0:00:31.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:36 +0000 (0:00:00.041) 0:00:31.832 ******* 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, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:37 +0000 (0:00:00.569) 0:00:32.401 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:37 +0000 (0:00:00.042) 0:00:32.444 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:37 +0000 (0:00:00.045) 0:00:32.489 ******* 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, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:37 +0000 (0:00:00.046) 0:00:32.535 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:37 +0000 (0:00:00.054) 0:00:32.590 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:13:37 +0000 (0:00:00.227) 0:00:32.818 ******* 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, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:13:37 +0000 (0:00:00.049) 0:00:32.867 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:38 +0000 (0:00:00.163) 0:00:33.030 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:38 +0000 (0:00:00.233) 0:00:33.263 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:38 +0000 (0:00:00.066) 0:00:33.330 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:38 +0000 (0:00:00.059) 0:00:33.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:38 +0000 (0:00:00.114) 0:00:33.504 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:39 +0000 (0:00:00.879) 0:00:34.383 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:40 +0000 (0:00:00.684) 0:00:35.067 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:40 +0000 (0:00:00.031) 0:00:35.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:40 +0000 (0:00:00.046) 0:00:35.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:40 +0000 (0:00:00.091) 0:00:35.237 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:40 +0000 (0:00:00.074) 0:00:35.311 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:40 +0000 (0:00:00.045) 0:00:35.357 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:40 +0000 (0:00:00.025) 0:00:35.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:40 +0000 (0:00:00.024) 0:00:35.407 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:40 +0000 (0:00:00.315) 0:00:35.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:40 +0000 (0:00:00.026) 0:00:35.750 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:40 +0000 (0:00:00.023) 0:00:35.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:40 +0000 (0:00:00.049) 0:00:35.823 ******* 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, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:41 +0000 (0:00:00.377) 0:00:36.201 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:41 +0000 (0:00:00.023) 0:00:36.224 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:41 +0000 (0:00:00.028) 0:00:36.253 ******* 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, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, edff0324-8f76-4a09-b5e5-cd3bdcbd27f5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:41 +0000 (0:00:00.028) 0:00:36.281 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:41 +0000 (0:00:00.038) 0:00:36.320 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:41 +0000 (0:00:00.146) 0:00:36.467 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:13:41 +0000 (0:00:00.062) 0:00:36.529 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:41 +0000 (0:00:00.066) 0:00:36.596 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:41 +0000 (0:00:00.077) 0:00:36.673 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:41 +0000 (0:00:00.045) 0:00:36.719 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:41 +0000 (0:00:00.109) 0:00:36.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:41 +0000 (0:00:00.094) 0:00:36.923 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:42 +0000 (0:00:00.825) 0:00:37.749 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:43 +0000 (0:00:00.705) 0:00:38.454 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:43 +0000 (0:00:00.094) 0:00:38.548 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:43 +0000 (0:00:00.075) 0:00:38.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:43 +0000 (0:00:00.073) 0:00:38.697 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:43 +0000 (0:00:00.153) 0:00:38.851 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:44 +0000 (0:00:00.100) 0:00:38.951 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:44 +0000 (0:00:00.060) 0:00:39.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:44 +0000 (0:00:00.106) 0:00:39.118 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:44 +0000 (0:00:00.337) 0:00:39.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:44 +0000 (0:00:00.031) 0:00:39.488 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:44 +0000 (0:00:00.076) 0:00:39.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:44 +0000 (0:00:00.038) 0:00:39.603 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:45 +0000 (0:00:00.436) 0:00:40.039 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:45 +0000 (0:00:00.055) 0:00:40.095 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:45 +0000 (0:00:00.063) 0:00:40.158 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:45 +0000 (0:00:00.092) 0:00:40.251 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:45 +0000 (0:00:00.076) 0:00:40.327 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:13:45 +0000 (0:00:00.203) 0:00:40.530 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:13:45 +0000 (0:00:00.088) 0:00:40.618 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:13:45 +0000 (0:00:00.094) 0:00:40.713 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380817.3665257, "block_size": 4096, "blocks": 0, "ctime": 1708380817.3655257, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1708380817.3655257, "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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:13:46 +0000 (0:00:00.235) 0:00:40.949 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:13:46 +0000 (0:00:00.069) 0:00:41.018 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:13:46 +0000 (0:00:00.088) 0:00:41.106 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:13:46 +0000 (0:00:00.028) 0:00:41.135 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:13:46 +0000 (0:00:00.254) 0:00:41.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:13:46 +0000 (0:00:00.045) 0:00:41.434 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.035799", "end": "2024-02-19 22:13:46.653940", "rc": 1, "start": "2024-02-19 22:13:46.618141" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:13:46 +0000 (0:00:00.188) 0:00:41.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:13:46 +0000 (0:00:00.036) 0:00:41.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:13:46 +0000 (0:00:00.038) 0:00:41.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:13:46 +0000 (0:00:00.026) 0:00:41.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:13:46 +0000 (0:00:00.026) 0:00:41.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:13:46 +0000 (0:00:00.049) 0:00:41.801 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:13:46 +0000 (0:00:00.039) 0:00:41.841 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:13:46 +0000 (0:00:00.024) 0:00:41.866 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:13:46 +0000 (0:00:00.031) 0:00:41.898 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:13:47 +0000 (0:00:00.071) 0:00:41.969 ******* 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.084296", "end": "2024-02-19 22:13:47.238834", "rc": 1, "start": "2024-02-19 22:13:47.154538" } STDOUT: Connection 'statebr' (edff0324-8f76-4a09-b5e5-cd3bdcbd27f5) successfully deleted. STDERR: (process:23776): GLib-GIO-WARNING **: 22:13:47.212: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 22:13:47 +0000 (0:00:00.291) 0:00:42.261 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:13:47 +0000 (0:00:00.159) 0:00:42.420 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:13:47 +0000 (0:00:00.132) 0:00:42.553 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:13:47 +0000 (0:00:00.180) 0:00:42.733 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:13:47 +0000 (0:00:00.070) 0:00:42.804 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:13:47 +0000 (0:00:00.054) 0:00:42.859 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2024-02-19 22:13:48.094498", "rc": 0, "start": "2024-02-19 22:13:48.091094" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:13:48 +0000 (0:00:00.228) 0:00:43.087 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:13:48 +0000 (0:00:00.038) 0:00:43.126 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:13:48 +0000 (0:00:00.024) 0:00:43.150 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:13:48 +0000 (0:00:00.063) 0:00:43.213 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:48 +0000 (0:00:00.052) 0:00:43.266 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:48 +0000 (0:00:00.054) 0:00:43.320 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:48 +0000 (0:00:00.029) 0:00:43.350 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:48 +0000 (0:00:00.034) 0:00:43.385 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:48 +0000 (0:00:00.023) 0:00:43.408 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:49 +0000 (0:00:00.792) 0:00:44.201 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:50 +0000 (0:00:00.837) 0:00:45.038 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:50 +0000 (0:00:00.078) 0:00:45.117 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:50 +0000 (0:00:00.046) 0:00:45.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:50 +0000 (0:00:00.044) 0:00:45.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:50 +0000 (0:00:00.067) 0:00:45.275 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:50 +0000 (0:00:00.045) 0:00:45.320 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:50 +0000 (0:00:00.045) 0:00:45.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:50 +0000 (0:00:00.095) 0:00:45.460 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:50 +0000 (0:00:00.282) 0:00:45.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:50 +0000 (0:00:00.088) 0:00:45.832 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:50 +0000 (0:00:00.083) 0:00:45.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:51 +0000 (0:00:00.102) 0:00:46.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, 8d90dc89-4330-43a1-93a1-5e36558e0962 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:51 +0000 (0:00:00.461) 0:00:46.479 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:51 +0000 (0:00:00.038) 0:00:46.518 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d90dc89-4330-43a1-93a1-5e36558e0962" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:51 +0000 (0:00:00.079) 0:00:46.597 ******* 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, 8d90dc89-4330-43a1-93a1-5e36558e0962\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d90dc89-4330-43a1-93a1-5e36558e0962" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:51 +0000 (0:00:00.079) 0:00:46.677 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:51 +0000 (0:00:00.036) 0:00:46.713 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:13:51 +0000 (0:00:00.212) 0:00:46.926 ******* 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, 8d90dc89-4330-43a1-93a1-5e36558e0962\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8d90dc89-4330-43a1-93a1-5e36558e0962" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:13:52 +0000 (0:00:00.048) 0:00:46.975 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:52 +0000 (0:00:00.142) 0:00:47.117 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:52 +0000 (0:00:00.105) 0:00:47.223 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:52 +0000 (0:00:00.050) 0:00:47.273 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:52 +0000 (0:00:00.045) 0:00:47.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:52 +0000 (0:00:00.058) 0:00:47.377 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:53 +0000 (0:00:00.809) 0:00:48.187 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:53 +0000 (0:00:00.714) 0:00:48.901 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:53 +0000 (0:00:00.033) 0:00:48.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:54 +0000 (0:00:00.069) 0:00:49.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:54 +0000 (0:00:00.050) 0:00:49.055 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:54 +0000 (0:00:00.137) 0:00:49.192 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:54 +0000 (0:00:00.027) 0:00:49.220 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:54 +0000 (0:00:00.043) 0:00:49.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:54 +0000 (0:00:00.030) 0:00:49.294 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:54 +0000 (0:00:00.258) 0:00:49.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:54 +0000 (0:00:00.029) 0:00:49.583 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:54 +0000 (0:00:00.027) 0:00:49.611 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:54 +0000 (0:00:00.026) 0:00:49.637 ******* 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, 8d90dc89-4330-43a1-93a1-5e36558e0962 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:55 +0000 (0:00:00.340) 0:00:49.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:55 +0000 (0:00:00.041) 0:00:50.018 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8d90dc89-4330-43a1-93a1-5e36558e0962 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:55 +0000 (0:00:00.045) 0:00:50.064 ******* 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, 8d90dc89-4330-43a1-93a1-5e36558e0962 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8d90dc89-4330-43a1-93a1-5e36558e0962 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:55 +0000 (0:00:00.066) 0:00:50.130 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:55 +0000 (0:00:00.047) 0:00:50.177 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 22:13:55 +0000 (0:00:00.180) 0:00:50.358 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:55 +0000 (0:00:00.080) 0:00:50.438 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:55 +0000 (0:00:00.057) 0:00:50.495 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:55 +0000 (0:00:00.040) 0:00:50.536 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:55 +0000 (0:00:00.035) 0:00:50.571 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:55 +0000 (0:00:00.024) 0:00:50.596 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:13:56 +0000 (0:00:00.785) 0:00:51.381 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:13:57 +0000 (0:00:00.674) 0:00:52.055 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:13:57 +0000 (0:00:00.043) 0:00:52.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:13:57 +0000 (0:00:00.074) 0:00:52.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:13:57 +0000 (0:00:00.034) 0:00:52.208 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:13:57 +0000 (0:00:00.048) 0:00:52.257 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:13:57 +0000 (0:00:00.021) 0:00:52.278 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:13:57 +0000 (0:00:00.063) 0:00:52.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:13:57 +0000 (0:00:00.064) 0:00:52.406 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:13:57 +0000 (0:00:00.284) 0:00:52.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:13:57 +0000 (0:00:00.035) 0:00:52.726 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:13:57 +0000 (0:00:00.027) 0:00:52.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:13:57 +0000 (0:00:00.028) 0:00:52.782 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:13:58 +0000 (0:00:00.338) 0:00:53.120 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:13:58 +0000 (0:00:00.045) 0:00:53.166 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:13:58 +0000 (0:00:00.035) 0:00:53.201 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:13:58 +0000 (0:00:00.051) 0:00:53.252 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:13:58 +0000 (0:00:00.038) 0:00:53.291 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:13:58 +0000 (0:00:00.145) 0:00:53.437 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:13:58 +0000 (0:00:00.184) 0:00:53.621 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:13:58 +0000 (0:00:00.074) 0:00:53.696 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:13:58 +0000 (0:00:00.218) 0:00:53.915 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:13:59 +0000 (0:00:00.109) 0:00:54.024 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:13:59 +0000 (0:00:00.053) 0:00:54.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:13:59 +0000 (0:00:00.074) 0:00:54.152 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:14:00 +0000 (0:00:00.838) 0:00:54.991 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:14:00 +0000 (0:00:00.842) 0:00:55.833 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:14:00 +0000 (0:00:00.053) 0:00:55.887 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:14:00 +0000 (0:00:00.039) 0:00:55.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:14:01 +0000 (0:00:00.044) 0:00:55.970 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:14:01 +0000 (0:00:00.087) 0:00:56.057 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:14:01 +0000 (0:00:00.065) 0:00:56.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:14:01 +0000 (0:00:00.051) 0:00:56.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:14:01 +0000 (0:00:00.112) 0:00:56.288 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:14:01 +0000 (0:00:00.350) 0:00:56.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:14:01 +0000 (0:00:00.042) 0:00:56.681 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:14:01 +0000 (0:00:00.079) 0:00:56.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:14:01 +0000 (0:00:00.022) 0:00:56.783 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:14:02 +0000 (0:00:00.410) 0:00:57.193 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:14:02 +0000 (0:00:00.054) 0:00:57.247 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:14:02 +0000 (0:00:00.026) 0:00:57.273 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:14:02 +0000 (0:00:00.032) 0:00:57.306 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:14:02 +0000 (0:00:00.026) 0:00:57.333 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:14:02 +0000 (0:00:00.214) 0:00:57.547 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:14:02 +0000 (0:00:00.047) 0:00:57.594 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:14:02 +0000 (0:00:00.069) 0:00:57.663 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:14:02 +0000 (0:00:00.029) 0:00:57.693 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:14:02 +0000 (0:00:00.139) 0:00:57.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:14:02 +0000 (0:00:00.082) 0:00:57.915 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021047", "end": "2024-02-19 22:14:03.129428", "rc": 1, "start": "2024-02-19 22:14:03.108381" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:14:03 +0000 (0:00:00.193) 0:00:58.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:14:03 +0000 (0:00:00.050) 0:00:58.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:14:03 +0000 (0:00:00.041) 0:00:58.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:14:03 +0000 (0:00:00.090) 0:00:58.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:14:03 +0000 (0:00:00.035) 0:00:58.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:14:03 +0000 (0:00:00.041) 0:00:58.368 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:14:03 +0000 (0:00:00.038) 0:00:58.406 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:14:03 +0000 (0:00:00.109) 0:00:58.515 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:14:03 +0000 (0:00:00.047) 0:00:58.563 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:14:03 +0000 (0:00:00.305) 0:00:58.869 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:14:03 +0000 (0:00:00.028) 0:00:58.897 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:14:03 +0000 (0:00:00.040) 0:00:58.938 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:14:04 +0000 (0:00:00.111) 0:00:59.049 ******* 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.044978", "end": "2024-02-19 22:14:04.292248", "rc": 1, "start": "2024-02-19 22:14:04.247270" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 22:14:04 +0000 (0:00:00.224) 0:00:59.273 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 22:14:04 +0000 (0:00:00.070) 0:00:59.344 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 22:14:04 +0000 (0:00:00.032) 0:00:59.377 ******* 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 22:14:04 +0000 (0:00:00.058) 0:00:59.436 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:14:04 +0000 (0:00:00.116) 0:00:59.552 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:14:04 +0000 (0:00:00.036) 0:00:59.589 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004658", "end": "2024-02-19 22:14:05.775906", "rc": 0, "start": "2024-02-19 22:14:04.771248" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:14:05 +0000 (0:00:01.198) 0:01:00.787 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:14:05 +0000 (0:00:00.098) 0:01:00.886 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 22:14:06 +0000 (0:00:00.058) 0:01:00.945 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 22:14:06 +0000 (0:00:00.065) 0:01:01.010 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:14:06 +0000 (0:00:00.054) 0:01:01.064 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:14:06 +0000 (0:00:00.081) 0:01:01.146 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:14:06 +0000 (0:00:00.053) 0:01:01.199 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:14:06 +0000 (0:00:00.068) 0:01:01.268 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:14:06 +0000 (0:00:00.061) 0:01:01.329 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:14:07 +0000 (0:00:00.961) 0:01:02.290 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:14:08 +0000 (0:00:00.681) 0:01:02.972 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:14:08 +0000 (0:00:00.021) 0:01:02.993 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:14:08 +0000 (0:00:00.021) 0:01:03.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:14:08 +0000 (0:00:00.022) 0:01:03.037 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:14:08 +0000 (0:00:00.044) 0:01:03.082 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:14:08 +0000 (0:00:00.029) 0:01:03.111 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:14:08 +0000 (0:00:00.022) 0:01:03.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:14:08 +0000 (0:00:00.051) 0:01:03.185 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:14:08 +0000 (0:00:00.319) 0:01:03.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:14:08 +0000 (0:00:00.047) 0:01:03.552 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:14:08 +0000 (0:00:00.025) 0:01:03.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:14:08 +0000 (0:00:00.056) 0:01:03.633 ******* 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, 18c9e4ed-05bc-4f7e-966b-490918236856 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:14:09 +0000 (0:00:00.447) 0:01:04.080 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:14:09 +0000 (0:00:00.034) 0:01:04.115 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:14:09 +0000 (0:00:00.037) 0:01:04.153 ******* 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, 18c9e4ed-05bc-4f7e-966b-490918236856\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:14:09 +0000 (0:00:00.041) 0:01:04.195 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:14:09 +0000 (0:00:00.051) 0:01:04.247 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 22:14:09 +0000 (0:00:00.138) 0:01:04.385 ******* 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, 18c9e4ed-05bc-4f7e-966b-490918236856\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 22:14:09 +0000 (0:00:00.023) 0:01:04.408 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:14:09 +0000 (0:00:00.061) 0:01:04.470 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:14:09 +0000 (0:00:00.189) 0:01:04.659 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:14:09 +0000 (0:00:00.045) 0:01:04.705 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:14:09 +0000 (0:00:00.042) 0:01:04.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:14:09 +0000 (0:00:00.127) 0:01:04.875 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:14:10 +0000 (0:00:00.837) 0:01:05.712 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:14:11 +0000 (0:00:00.763) 0:01:06.475 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:14:11 +0000 (0:00:00.031) 0:01:06.506 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:14:11 +0000 (0:00:00.029) 0:01:06.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:14:11 +0000 (0:00:00.030) 0:01:06.566 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:14:11 +0000 (0:00:00.073) 0:01:06.640 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:14:11 +0000 (0:00:00.102) 0:01:06.742 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:14:11 +0000 (0:00:00.046) 0:01:06.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:14:11 +0000 (0:00:00.045) 0:01:06.835 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:14:12 +0000 (0:00:00.340) 0:01:07.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:14:12 +0000 (0:00:00.046) 0:01:07.221 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:14:12 +0000 (0:00:00.066) 0:01:07.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:14:12 +0000 (0:00:00.060) 0:01:07.348 ******* 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, 18c9e4ed-05bc-4f7e-966b-490918236856 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:14:12 +0000 (0:00:00.353) 0:01:07.702 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:14:12 +0000 (0:00:00.029) 0:01:07.732 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:14:12 +0000 (0:00:00.038) 0:01:07.771 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18c9e4ed-05bc-4f7e-966b-490918236856 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:14:12 +0000 (0:00:00.128) 0:01:07.899 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:14:13 +0000 (0:00:00.058) 0:01:07.958 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:14:13 +0000 (0:00:00.195) 0:01:08.153 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:14:13 +0000 (0:00:00.038) 0:01:08.192 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:14:13 +0000 (0:00:00.075) 0:01:08.267 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:14:13 +0000 (0:00:00.080) 0:01:08.347 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:14:13 +0000 (0:00:00.035) 0:01:08.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:14:13 +0000 (0:00:00.048) 0:01:08.431 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:14:14 +0000 (0:00:00.827) 0:01:09.259 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:14:15 +0000 (0:00:00.709) 0:01:09.968 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:14:15 +0000 (0:00:00.032) 0:01:10.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:14:15 +0000 (0:00:00.023) 0:01:10.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:14:15 +0000 (0:00:00.086) 0:01:10.111 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:14:15 +0000 (0:00:00.127) 0:01:10.239 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:14:15 +0000 (0:00:00.034) 0:01:10.273 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:14:15 +0000 (0:00:00.041) 0:01:10.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:14:15 +0000 (0:00:00.041) 0:01:10.356 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:14:15 +0000 (0:00:00.373) 0:01:10.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:14:15 +0000 (0:00:00.031) 0:01:10.762 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:14:15 +0000 (0:00:00.024) 0:01:10.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:14:15 +0000 (0:00:00.027) 0:01:10.814 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:14:16 +0000 (0:00:00.489) 0:01:11.304 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:14:16 +0000 (0:00:00.027) 0:01:11.331 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:14:16 +0000 (0:00:00.035) 0:01:11.367 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:14:16 +0000 (0:00:00.055) 0:01:11.422 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:14:16 +0000 (0:00:00.031) 0:01:11.454 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 22:14:16 +0000 (0:00:00.137) 0:01:11.592 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 22:14:16 +0000 (0:00:00.088) 0:01:11.680 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 22:14:16 +0000 (0:00:00.128) 0:01:11.809 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 22:14:16 +0000 (0:00:00.077) 0:01:11.887 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 22:14:17 +0000 (0:00:00.098) 0:01:11.985 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 22:14:17 +0000 (0:00:00.068) 0:01:12.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 22:14:17 +0000 (0:00:00.084) 0:01:12.138 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 22:14:18 +0000 (0:00:00.835) 0:01:12.974 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 22:14:18 +0000 (0:00:00.745) 0:01:13.719 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 22:14:18 +0000 (0:00:00.038) 0:01:13.758 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 22:14:18 +0000 (0:00:00.060) 0:01:13.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 22:14:18 +0000 (0:00:00.023) 0:01:13.842 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 22:14:18 +0000 (0:00:00.079) 0:01:13.921 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 22:14:19 +0000 (0:00:00.053) 0:01:13.975 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 22:14:19 +0000 (0:00:00.080) 0:01:14.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 22:14:19 +0000 (0:00:00.209) 0:01:14.265 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 22:14:19 +0000 (0:00:00.292) 0:01:14.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 22:14:19 +0000 (0:00:00.040) 0:01:14.598 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 22:14:19 +0000 (0:00:00.039) 0:01:14.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 22:14:19 +0000 (0:00:00.035) 0:01:14.673 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 22:14:20 +0000 (0:00:00.359) 0:01:15.032 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 22:14:20 +0000 (0:00:00.043) 0:01:15.076 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 22:14:20 +0000 (0:00:00.109) 0:01:15.185 ******* 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-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 22:14:20 +0000 (0:00:00.066) 0:01:15.251 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 22:14:20 +0000 (0:00:00.053) 0:01:15.305 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 22:14:20 +0000 (0:00:00.180) 0:01:15.485 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 22:14:20 +0000 (0:00:00.056) 0:01:15.542 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 22:14:20 +0000 (0:00:00.076) 0:01:15.619 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 22:14:20 +0000 (0:00:00.045) 0:01:15.664 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 22:14:20 +0000 (0:00:00.160) 0:01:15.825 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 22:14:21 +0000 (0:00:00.138) 0:01:15.964 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020698", "end": "2024-02-19 22:14:21.240040", "rc": 1, "start": "2024-02-19 22:14:21.219342" } 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 22:14:21 +0000 (0:00:00.286) 0:01:16.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 22:14:21 +0000 (0:00:00.070) 0:01:16.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 22:14:21 +0000 (0:00:00.041) 0:01:16.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 22:14:21 +0000 (0:00:00.027) 0:01:16.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 22:14:21 +0000 (0:00:00.032) 0:01:16.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 22:14:21 +0000 (0:00:00.045) 0:01:16.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 22:14:21 +0000 (0:00:00.039) 0:01:16.507 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404905", "end": "2024-02-19 22:14:22.093763", "rc": 0, "start": "2024-02-19 22:14:21.688858" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 22:14:22 +0000 (0:00:00.598) 0:01:17.105 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 22:14:22 +0000 (0:00:00.070) 0:01:17.176 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 22:14:22 +0000 (0:00:00.040) 0:01:17.217 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:14:22 +0000 (0:00:00.128) 0:01:17.346 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:14:22 +0000 (0:00:00.058) 0:01:17.404 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:14:22 +0000 (0:00:00.271) 0:01:17.676 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 22:14:22 +0000 (0:00:00.040) 0:01:17.716 ******* 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-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 22:14:22 +0000 (0:00:00.044) 0:01:17.761 ******* included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 22:14:22 +0000 (0:00:00.133) 0:01:17.895 ******* 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.046340", "end": "2024-02-19 22:14:23.113952", "rc": 1, "start": "2024-02-19 22:14:23.067612" } 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 [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 22:14:23 +0000 (0:00:00.202) 0:01:18.098 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007617", "end": "2024-02-19 22:14:23.325985", "rc": 0, "start": "2024-02-19 22:14:23.318368" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:94:51:20:3b:11 brd ff:ff:ff:ff:ff:ff inet 10.31.9.233/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2685sec preferred_lft 2685sec inet6 fe80::1094:51ff:fe20:3b11/64 scope link valid_lft forever preferred_lft forever 16: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether d6:83:b7:dc:4e:72 brd ff:ff:ff:ff:ff:ff 38: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 16:a0:33:0a:fd:15 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.233 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 22:14:23 +0000 (0:00:00.199) 0:01:18.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Monday 19 February 2024 22:14:23 +0000 (0:00:00.038) 0:01:18.336 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.47s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.78s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.20s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 1.09s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.02s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 0.96s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-nm_plugin_hotfix8taec5z5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---