# 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-weekly-ciyhmr6ljt/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_states_nm.yml:5 Saturday 09 December 2023 13:55:59 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_states_nm.yml:9 Saturday 09 December 2023 13:56:00 +0000 (0:00:00.706) 0:00:00.719 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:56:00 +0000 (0:00:00.038) 0:00:00.757 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:19 Saturday 09 December 2023 13:56:00 +0000 (0:00:00.353) 0:00:01.111 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:24 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.279) 0:00:01.390 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:28 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.050) 0:00:01.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:53 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.022) 0:00:01.463 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.070) 0:00:01.534 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.281) 0:00:01.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.015) 0:00:01.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:56:01 +0000 (0:00:00.025) 0:00:01.857 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.390377", "end": "2023-12-09 13:56:02.152272", "rc": 0, "start": "2023-12-09 13:56:01.761895" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.622) 0:00:02.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_states_nm.yml:11 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.018) 0:00:02.498 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:3 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.016) 0:00:02.515 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:11 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.515) 0:00:03.030 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:22 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.010) 0:00:03.040 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.016) 0:00:03.057 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.018) 0:00:03.075 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.033) 0:00:03.109 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.023) 0:00:03.132 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:56:02 +0000 (0:00:00.013) 0:00:03.145 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2023-12-09 13:56:03.009324", "rc": 0, "start": "2023-12-09 13:56:03.005570" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.190) 0:00:03.336 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.012) 0:00:03.349 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.011) 0:00:03.360 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.025) 0:00:03.386 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008687", "end": "2023-12-09 13:56:03.265989", "rc": 1, "start": "2023-12-09 13:56:03.257302" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.210) 0:00:03.596 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.021) 0:00:03.617 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.235) 0:00:03.853 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.014) 0:00:03.867 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.036) 0:00:03.903 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.060) 0:00:03.964 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.105) 0:00:04.070 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.025) 0:00:04.096 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.025) 0:00:04.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:03 +0000 (0:00:00.027) 0:00:04.148 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:05 +0000 (0:00:01.799) 0:00:05.948 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:07 +0000 (0:00:01.549) 0:00:07.497 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.039) 0:00:07.537 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.035) 0:00:07.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.029) 0:00:07.603 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.092) 0:00:07.695 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.043) 0:00:07.739 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.058) 0:00:07.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:07 +0000 (0:00:00.065) 0:00:07.863 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:08 +0000 (0:00:00.633) 0:00:08.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:08 +0000 (0:00:00.097) 0:00:08.594 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:08 +0000 (0:00:00.028) 0:00:08.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:08 +0000 (0:00:00.026) 0:00:08.649 ***** 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, 827e28d2-ff21-41ed-80c4-733ca49f7ff8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.657) 0:00:09.307 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.047) 0:00:09.355 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 827e28d2-ff21-41ed-80c4-733ca49f7ff8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.041) 0:00:09.396 ***** 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, 827e28d2-ff21-41ed-80c4-733ca49f7ff8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 827e28d2-ff21-41ed-80c4-733ca49f7ff8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.048) 0:00:09.445 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.023) 0:00:09.468 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.267) 0:00:09.736 ***** 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, 827e28d2-ff21-41ed-80c4-733ca49f7ff8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 827e28d2-ff21-41ed-80c4-733ca49f7ff8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.032) 0:00:09.768 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.041) 0:00:09.810 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.058) 0:00:09.868 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.032) 0:00:09.901 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130168.9351008, "block_size": 4096, "blocks": 8, "ctime": 1702130168.866104, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130168.866104, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.251) 0:00:10.152 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:56:09 +0000 (0:00:00.034) 0:00:10.187 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021325", "end": "2023-12-09 13:56:10.127253", "rc": 0, "start": "2023-12-09 13:56:10.105928" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.352) 0:00:10.539 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.026) 0:00:10.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.037) 0:00:10.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.047) 0:00:10.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.031) 0:00:10.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.056) 0:00:10.739 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.036) 0:00:10.775 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.044) 0:00:10.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.040) 0:00:10.860 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.044) 0:00:10.904 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.042) 0:00:10.947 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130168.8687217, "block_size": 4096, "blocks": 0, "ctime": 1702130168.8687217, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37362, "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": 1702130168.8687217, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.205) 0:00:11.152 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.030) 0:00:11.183 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.029) 0:00:11.212 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:56:10 +0000 (0:00:00.067) 0:00:11.279 ***** 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.068934", "end": "2023-12-09 13:56:11.211312", "rc": 1, "start": "2023-12-09 13:56:11.142378" } STDOUT: Connection 'statebr' (827e28d2-ff21-41ed-80c4-733ca49f7ff8) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:45 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.269) 0:00:11.549 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.046) 0:00:11.595 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.049) 0:00:11.644 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.086) 0:00:11.731 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.038) 0:00:11.770 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.041) 0:00:11.811 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003515", "end": "2023-12-09 13:56:11.678828", "rc": 0, "start": "2023-12-09 13:56:11.675313" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.216) 0:00:12.028 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.026) 0:00:12.054 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.024) 0:00:12.079 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/delete_interface.yml:3 Saturday 09 December 2023 13:56:11 +0000 (0:00:00.071) 0:00:12.150 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006752", "end": "2023-12-09 13:56:12.049374", "rc": 1, "start": "2023-12-09 13:56:12.042622" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.252) 0:00:12.403 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.106) 0:00:12.510 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.272) 0:00:12.782 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.060) 0:00:12.843 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.050) 0:00:12.894 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.048) 0:00:12.942 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.053) 0:00:12.996 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.047) 0:00:13.044 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.061) 0:00:13.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:12 +0000 (0:00:00.056) 0:00:13.161 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:14 +0000 (0:00:01.715) 0:00:14.877 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:15 +0000 (0:00:01.238) 0:00:16.115 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:15 +0000 (0:00:00.037) 0:00:16.153 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:15 +0000 (0:00:00.022) 0:00:16.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:15 +0000 (0:00:00.047) 0:00:16.222 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.086) 0:00:16.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.038) 0:00:16.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.023) 0:00:16.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.054) 0:00:16.425 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.351) 0:00:16.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.031) 0:00:16.808 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.022) 0:00:16.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.025) 0:00:16.856 ***** 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, 6689cf69-a24c-45d0-875b-a8d48d89ac2d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.350) 0:00:17.206 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.043) 0:00:17.250 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6689cf69-a24c-45d0-875b-a8d48d89ac2d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:16 +0000 (0:00:00.023) 0:00:17.273 ***** 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, 6689cf69-a24c-45d0-875b-a8d48d89ac2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6689cf69-a24c-45d0-875b-a8d48d89ac2d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.038) 0:00:17.312 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.022) 0:00:17.335 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.211) 0:00:17.546 ***** 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, 6689cf69-a24c-45d0-875b-a8d48d89ac2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6689cf69-a24c-45d0-875b-a8d48d89ac2d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.029) 0:00:17.575 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.047) 0:00:17.623 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.060) 0:00:17.684 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.202) 0:00:17.886 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.047) 0:00:17.934 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.062) 0:00:17.996 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.028) 0:00:18.025 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130176.848755, "block_size": 4096, "blocks": 8, "ctime": 1702130176.848755, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130176.848755, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.199) 0:00:18.225 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:56:17 +0000 (0:00:00.038) 0:00:18.263 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020832", "end": "2023-12-09 13:56:18.162656", "rc": 0, "start": "2023-12-09 13:56:18.141824" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.236) 0:00:18.499 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.030) 0:00:18.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.024) 0:00:18.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.024) 0:00:18.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.024) 0:00:18.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.057) 0:00:18.662 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.027) 0:00:18.690 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.030) 0:00:18.720 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.035) 0:00:18.755 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.027) 0:00:18.783 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.046) 0:00:18.829 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.102) 0:00:18.931 ***** 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.043038", "end": "2023-12-09 13:56:18.859081", "rc": 1, "start": "2023-12-09 13:56:18.816043" } STDOUT: Connection 'statebr' (6689cf69-a24c-45d0-875b-a8d48d89ac2d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:65 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.278) 0:00:19.210 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.048) 0:00:19.258 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:56:18 +0000 (0:00:00.027) 0:00:19.285 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.050) 0:00:19.335 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.038) 0:00:19.374 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.085) 0:00:19.459 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003519", "end": "2023-12-09 13:56:19.337949", "rc": 0, "start": "2023-12-09 13:56:19.334430" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.250) 0:00:19.710 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.035) 0:00:19.745 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.026) 0:00:19.771 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.043) 0:00:19.814 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.037) 0:00:19.852 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.042) 0:00:19.894 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.047) 0:00:19.941 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.038) 0:00:19.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:19 +0000 (0:00:00.050) 0:00:20.030 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:21 +0000 (0:00:01.717) 0:00:21.748 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:22 +0000 (0:00:01.237) 0:00:22.986 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.026) 0:00:23.012 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.025) 0:00:23.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.043) 0:00:23.082 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.064) 0:00:23.147 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.028) 0:00:23.175 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.067) 0:00:23.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:22 +0000 (0:00:00.029) 0:00:23.272 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.348) 0:00:23.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.029) 0:00:23.650 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.034) 0:00:23.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.034) 0:00:23.719 ***** 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, 8ff71a8d-b191-4877-9f56-f1bc4c304117 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.404) 0:00:24.124 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.032) 0:00:24.157 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff71a8d-b191-4877-9f56-f1bc4c304117" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.041) 0:00:24.198 ***** 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, 8ff71a8d-b191-4877-9f56-f1bc4c304117\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff71a8d-b191-4877-9f56-f1bc4c304117" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.026) 0:00:24.225 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:23 +0000 (0:00:00.039) 0:00:24.264 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.197) 0:00:24.462 ***** 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, 8ff71a8d-b191-4877-9f56-f1bc4c304117\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff71a8d-b191-4877-9f56-f1bc4c304117" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.028) 0:00:24.490 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.096) 0:00:24.587 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.080) 0:00:24.667 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.089) 0:00:24.756 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.045) 0:00:24.802 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.025) 0:00:24.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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:24 +0000 (0:00:00.023) 0:00:24.852 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:26 +0000 (0:00:01.704) 0:00:26.556 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:27 +0000 (0:00:01.319) 0:00:27.876 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.039) 0:00:27.915 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.034) 0:00:27.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.036) 0:00:27.985 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.047) 0:00:28.033 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.030) 0:00:28.063 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.022) 0:00:28.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:27 +0000 (0:00:00.037) 0:00:28.124 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.373) 0:00:28.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.029) 0:00:28.527 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.074) 0:00:28.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.084) 0:00:28.686 ***** 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, 8ff71a8d-b191-4877-9f56-f1bc4c304117 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.529) 0:00:29.215 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.039) 0:00:29.254 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ff71a8d-b191-4877-9f56-f1bc4c304117 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:28 +0000 (0:00:00.027) 0:00:29.282 ***** 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, 8ff71a8d-b191-4877-9f56-f1bc4c304117 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ff71a8d-b191-4877-9f56-f1bc4c304117 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.035) 0:00:29.317 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.053) 0:00:29.371 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.241) 0:00:29.613 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.069) 0:00:29.682 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.059) 0:00:29.741 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130183.7224672, "block_size": 4096, "blocks": 0, "ctime": 1702130183.7224672, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37493, "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": 1702130183.7224672, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.205) 0:00:29.946 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.027) 0:00:29.973 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.038) 0:00:30.012 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.057) 0:00:30.069 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130183.7214546, "block_size": 4096, "blocks": 8, "ctime": 1702130183.7204547, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702130183.7204547, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:56:29 +0000 (0:00:00.206) 0:00:30.275 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.036) 0:00:30.312 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021243", "end": "2023-12-09 13:56:30.218791", "rc": 0, "start": "2023-12-09 13:56:30.197548" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.263) 0:00:30.575 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.048) 0:00:30.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.045) 0:00:30.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.035) 0:00:30.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.025) 0:00:30.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.034) 0:00:30.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.033) 0:00:30.799 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.032) 0:00:30.831 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.050) 0:00:30.882 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.043) 0:00:30.925 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.046) 0:00:30.971 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:56:30 +0000 (0:00:00.086) 0:00:31.057 ***** 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.071849", "end": "2023-12-09 13:56:30.994612", "rc": 1, "start": "2023-12-09 13:56:30.922763" } STDOUT: Connection 'statebr' (8ff71a8d-b191-4877-9f56-f1bc4c304117) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:83 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.303) 0:00:31.361 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.062) 0:00:31.423 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.042) 0:00:31.466 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.057) 0:00:31.524 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.106) 0:00:31.630 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.091) 0:00:31.721 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2023-12-09 13:56:31.630393", "rc": 0, "start": "2023-12-09 13:56:31.626871" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.257) 0:00:31.979 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.052) 0:00:32.031 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.051) 0:00:32.083 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:56:31 +0000 (0:00:00.160) 0:00:32.243 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:32 +0000 (0:00:00.079) 0:00:32.322 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:32 +0000 (0:00:00.072) 0:00:32.394 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:32 +0000 (0:00:00.069) 0:00:32.464 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:32 +0000 (0:00:00.040) 0:00:32.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:32 +0000 (0:00:00.049) 0:00:32.554 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:33 +0000 (0:00:01.671) 0:00:34.226 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:35 +0000 (0:00:01.339) 0:00:35.566 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.034) 0:00:35.600 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.061) 0:00:35.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.067) 0:00:35.729 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.122) 0:00:35.852 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.085) 0:00:35.937 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.144) 0:00:36.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:35 +0000 (0:00:00.063) 0:00:36.144 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.420) 0:00:36.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.029) 0:00:36.594 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.058) 0:00:36.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.045) 0:00:36.699 ***** 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, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.406) 0:00:37.106 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.039) 0:00:37.146 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.066) 0:00:37.212 ***** 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, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.033) 0:00:37.246 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:36 +0000 (0:00:00.038) 0:00:37.285 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.231) 0:00:37.516 ***** 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, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.026) 0:00:37.543 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.040) 0:00:37.583 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.075) 0:00:37.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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.035) 0:00:37.694 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.024) 0:00:37.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:37 +0000 (0:00:00.049) 0:00:37.768 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:39 +0000 (0:00:01.690) 0:00:39.458 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:40 +0000 (0:00:01.349) 0:00:40.808 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.029) 0:00:40.837 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.036) 0:00:40.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.027) 0:00:40.902 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.064) 0:00:40.967 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.096) 0:00:41.064 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.043) 0:00:41.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:40 +0000 (0:00:00.041) 0:00:41.148 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.377) 0:00:41.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.029) 0:00:41.555 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.024) 0:00:41.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.032) 0:00:41.612 ***** 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, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.353) 0:00:41.966 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.025) 0:00:41.991 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.031) 0:00:42.023 ***** 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, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ade59e3-f6a9-44c4-9b62-9f9aa793dde1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.034) 0:00:42.058 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:41 +0000 (0:00:00.040) 0:00:42.098 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.225) 0:00:42.323 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.094) 0:00:42.418 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.046) 0:00:42.465 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.056) 0:00:42.521 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.030) 0:00:42.552 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.041) 0:00:42.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:42 +0000 (0:00:00.028) 0:00:42.621 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:44 +0000 (0:00:01.694) 0:00:44.316 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:45 +0000 (0:00:01.329) 0:00:45.646 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.023) 0:00:45.669 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.022) 0:00:45.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.035) 0:00:45.727 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.086) 0:00:45.814 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.039) 0:00:45.853 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.038) 0:00:45.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.041) 0:00:45.934 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:45 +0000 (0:00:00.370) 0:00:46.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.038) 0:00:46.342 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.035) 0:00:46.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.063) 0:00:46.441 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.460) 0:00:46.901 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.035) 0:00:46.937 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.068) 0:00:47.005 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.061) 0:00:47.067 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:46 +0000 (0:00:00.058) 0:00:47.126 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.207) 0:00:47.333 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.056) 0:00:47.390 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.046) 0:00:47.436 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702130196.7004795, "block_size": 4096, "blocks": 0, "ctime": 1702130196.7004795, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37624, "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": 1702130196.7004795, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.202) 0:00:47.639 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.026) 0:00:47.665 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.046) 0:00:47.712 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.065) 0:00:47.778 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.209) 0:00:47.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.031) 0:00:48.018 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020906", "end": "2023-12-09 13:56:47.901215", "rc": 1, "start": "2023-12-09 13:56:47.880309" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.232) 0:00:48.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:56:47 +0000 (0:00:00.036) 0:00:48.288 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.035) 0:00:48.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.027) 0:00:48.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.034) 0:00:48.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.025) 0:00:48.412 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.026) 0:00:48.439 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.024) 0:00:48.463 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.039) 0:00:48.503 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.043) 0:00:48.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.079551", "end": "2023-12-09 13:56:48.503476", "rc": 1, "start": "2023-12-09 13:56:48.423925" } STDOUT: Connection 'statebr' (7ade59e3-f6a9-44c4-9b62-9f9aa793dde1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:103 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.341) 0:00:48.888 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.054) 0:00:48.942 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.041) 0:00:48.983 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.049) 0:00:49.033 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.038) 0:00:49.071 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:56:48 +0000 (0:00:00.037) 0:00:49.108 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2023-12-09 13:56:48.974278", "rc": 0, "start": "2023-12-09 13:56:48.970717" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.210) 0:00:49.319 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.040) 0:00:49.360 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.034) 0:00:49.394 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.053) 0:00:49.448 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.070) 0:00:49.518 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.051) 0:00:49.569 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.034) 0:00:49.603 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.049) 0:00:49.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:49 +0000 (0:00:00.025) 0:00:49.678 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:51 +0000 (0:00:01.770) 0:00:51.448 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:52 +0000 (0:00:01.335) 0:00:52.783 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.053) 0:00:52.837 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.071) 0:00:52.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.024) 0:00:52.933 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.057) 0:00:52.990 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.023) 0:00:53.014 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.046) 0:00:53.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:52 +0000 (0:00:00.028) 0:00:53.089 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.367) 0:00:53.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.045) 0:00:53.502 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.033) 0:00:53.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.037) 0:00:53.573 ***** 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, f82f997d-45d7-4fc3-abe7-bf4717c3879b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.435) 0:00:54.008 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.031) 0:00:54.040 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f82f997d-45d7-4fc3-abe7-bf4717c3879b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.054) 0:00:54.095 ***** 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, f82f997d-45d7-4fc3-abe7-bf4717c3879b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f82f997d-45d7-4fc3-abe7-bf4717c3879b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.067) 0:00:54.163 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:53 +0000 (0:00:00.112) 0:00:54.276 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.268) 0:00:54.544 ***** 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, f82f997d-45d7-4fc3-abe7-bf4717c3879b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f82f997d-45d7-4fc3-abe7-bf4717c3879b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.054) 0:00:54.599 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.042) 0:00:54.641 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.052) 0:00:54.694 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.050) 0:00:54.744 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.083) 0:00:54.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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:54 +0000 (0:00:00.068) 0:00:54.897 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:56:56 +0000 (0:00:01.738) 0:00:56.635 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:56:57 +0000 (0:00:01.233) 0:00:57.868 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.025) 0:00:57.894 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.032) 0:00:57.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.023) 0:00:57.950 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.054) 0:00:58.005 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.077) 0:00:58.082 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.035) 0:00:58.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:56:57 +0000 (0:00:00.044) 0:00:58.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:56:58 +0000 (0:00:00.399) 0:00:58.562 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:56:58 +0000 (0:00:00.124) 0:00:58.687 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:56:58 +0000 (0:00:00.110) 0:00:58.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:56:58 +0000 (0:00:00.095) 0:00:58.893 ***** 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, f82f997d-45d7-4fc3-abe7-bf4717c3879b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.422) 0:00:59.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.078) 0:00:59.394 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f82f997d-45d7-4fc3-abe7-bf4717c3879b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.053) 0:00:59.447 ***** 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, f82f997d-45d7-4fc3-abe7-bf4717c3879b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f82f997d-45d7-4fc3-abe7-bf4717c3879b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.031) 0:00:59.479 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.063) 0:00:59.543 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove_profile.yml:3 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.271) 0:00:59.814 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.089) 0:00:59.903 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.093) 0:00:59.996 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.059) 0:01:00.055 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.029) 0:01:00.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:56:59 +0000 (0:00:00.089) 0:01:00.174 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:01 +0000 (0:00:01.741) 0:01:01.915 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:02 +0000 (0:00:01.274) 0:01:03.190 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:02 +0000 (0:00:00.038) 0:01:03.228 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.080) 0:01:03.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.024) 0:01:03.332 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.049) 0:01:03.382 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.024) 0:01:03.407 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.025) 0:01:03.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.025) 0:01:03.458 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.345) 0:01:03.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.026) 0:01:03.830 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.020) 0:01:03.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.021) 0:01:03.872 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.367) 0:01:04.240 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.029) 0:01:04.269 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:03 +0000 (0:00:00.034) 0:01:04.303 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.045) 0:01:04.349 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.066) 0:01:04.416 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.353) 0:01:04.770 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.083) 0:01:04.853 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.068) 0:01:04.921 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.068) 0:01:04.989 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.047) 0:01:05.036 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.033) 0:01:05.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:57:04 +0000 (0:00:00.052) 0:01:05.122 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:06 +0000 (0:00:01.668) 0:01:06.791 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:07 +0000 (0:00:01.318) 0:01:08.109 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:07 +0000 (0:00:00.048) 0:01:08.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:07 +0000 (0:00:00.050) 0:01:08.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:07 +0000 (0:00:00.038) 0:01:08.246 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.105) 0:01:08.352 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.030) 0:01:08.382 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.030) 0:01:08.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.024) 0:01:08.438 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.375) 0:01:08.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.036) 0:01:08.850 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.042) 0:01:08.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:08 +0000 (0:00:00.031) 0:01:08.924 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.403) 0:01:09.328 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.023) 0:01:09.352 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.026) 0:01:09.378 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.053) 0:01:09.432 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.045) 0:01:09.477 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.212) 0:01:09.690 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.042) 0:01:09.732 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.070) 0:01:09.803 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.025) 0:01:09.829 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.206) 0:01:10.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.034) 0:01:10.069 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019978", "end": "2023-12-09 13:57:09.950476", "rc": 1, "start": "2023-12-09 13:57:09.930498" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:57:09 +0000 (0:00:00.219) 0:01:10.289 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.028) 0:01:10.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.025) 0:01:10.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.024) 0:01:10.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.023) 0:01:10.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.022) 0:01:10.414 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.024) 0:01:10.438 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.043) 0:01:10.482 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.035) 0:01:10.517 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.219) 0:01:10.737 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.026) 0:01:10.763 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.022) 0:01:10.786 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.041) 0:01:10.828 ***** 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.041164", "end": "2023-12-09 13:57:10.731578", "rc": 1, "start": "2023-12-09 13:57:10.690414" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_states.yml:126 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.240) 0:01:11.068 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:5 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.038) 0:01:11.106 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:9 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.024) 0:01:11.131 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:21 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.060) 0:01:11.191 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.041) 0:01:11.233 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:57:10 +0000 (0:00:00.061) 0:01:11.295 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003704", "end": "2023-12-09 13:57:11.162574", "rc": 0, "start": "2023-12-09 13:57:11.158870" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.239) 0:01:11.534 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.024) 0:01:11.559 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:24 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.034) 0:01:11.593 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.054) 0:01:11.647 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.048) 0:01:11.696 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.045) 0:01:11.742 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.031) 0:01:11.773 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.047) 0:01:11.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:57:11 +0000 (0:00:00.043) 0:01:11.864 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:13 +0000 (0:00:01.653) 0:01:13.517 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:14 +0000 (0:00:01.233) 0:01:14.751 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.043) 0:01:14.795 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.033) 0:01:14.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.022) 0:01:14.850 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.043) 0:01:14.894 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.021) 0:01:14.916 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.046) 0:01:14.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:14 +0000 (0:00:00.027) 0:01:14.990 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.349) 0:01:15.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.025) 0:01:15.365 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.021) 0:01:15.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.021) 0:01:15.409 ***** 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, 33c89eb9-9f5a-435d-be5f-e1f11969259e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.400) 0:01:15.809 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.031) 0:01:15.840 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33c89eb9-9f5a-435d-be5f-e1f11969259e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.024) 0:01:15.864 ***** 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, 33c89eb9-9f5a-435d-be5f-e1f11969259e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33c89eb9-9f5a-435d-be5f-e1f11969259e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.030) 0:01:15.895 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.031) 0:01:15.927 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.198) 0:01:16.125 ***** 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, 33c89eb9-9f5a-435d-be5f-e1f11969259e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33c89eb9-9f5a-435d-be5f-e1f11969259e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/activate_profile.yml:3 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.026) 0:01:16.151 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.066) 0:01:16.218 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:57:15 +0000 (0:00:00.043) 0:01:16.262 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:57:16 +0000 (0:00:00.057) 0:01:16.319 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:57:16 +0000 (0:00:00.053) 0:01:16.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:57:16 +0000 (0:00:00.036) 0:01:16.409 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:17 +0000 (0:00:01.657) 0:01:18.066 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:19 +0000 (0:00:01.278) 0:01:19.345 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.023) 0:01:19.368 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.022) 0:01:19.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.023) 0:01:19.414 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.045) 0:01:19.460 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.023) 0:01:19.483 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.023) 0:01:19.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.026) 0:01:19.533 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.344) 0:01:19.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.027) 0:01:19.906 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.050) 0:01:19.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:19 +0000 (0:00:00.022) 0:01:19.979 ***** 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, 33c89eb9-9f5a-435d-be5f-e1f11969259e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.333) 0:01:20.313 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.023) 0:01:20.336 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33c89eb9-9f5a-435d-be5f-e1f11969259e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.024) 0:01:20.360 ***** 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, 33c89eb9-9f5a-435d-be5f-e1f11969259e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33c89eb9-9f5a-435d-be5f-e1f11969259e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.024) 0:01:20.385 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.023) 0:01:20.409 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.196) 0:01:20.605 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.039) 0:01:20.645 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.045) 0:01:20.691 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.034) 0:01:20.725 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.025) 0:01:20.751 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:57:20 +0000 (0:00:00.026) 0:01:20.777 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:22 +0000 (0:00:01.726) 0:01:22.504 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:23 +0000 (0:00:01.243) 0:01:23.747 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.027) 0:01:23.775 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.025) 0:01:23.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.070) 0:01:23.871 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.073) 0:01:23.944 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.032) 0:01:23.977 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.025) 0:01:24.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:23 +0000 (0:00:00.033) 0:01:24.036 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.364) 0:01:24.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.028) 0:01:24.429 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.023) 0:01:24.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.022) 0:01:24.475 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.400) 0:01:24.876 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.028) 0:01:24.905 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.038) 0:01:24.943 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.036) 0:01:24.979 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.041) 0:01:25.021 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:30 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.240) 0:01:25.262 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 09 December 2023 13:57:24 +0000 (0:00:00.041) 0:01:25.303 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:57:25 +0000 (0:00:00.041) 0:01:25.344 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:57:25 +0000 (0:00:00.050) 0:01:25.394 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:57:25 +0000 (0:00:00.028) 0:01:25.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:57:25 +0000 (0:00:00.021) 0:01:25.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:57:25 +0000 (0:00:00.022) 0:01:25.466 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:57:26 +0000 (0:00:01.674) 0:01:27.141 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:57:28 +0000 (0:00:01.232) 0:01:28.374 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.023) 0:01:28.397 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.023) 0:01:28.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.022) 0:01:28.443 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.044) 0:01:28.488 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.022) 0:01:28.510 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.022) 0:01:28.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.029) 0:01:28.562 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.406) 0:01:28.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.028) 0:01:28.997 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.023) 0:01:29.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:57:28 +0000 (0:00:00.036) 0:01:29.057 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.355) 0:01:29.413 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.025) 0:01:29.438 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.031) 0:01:29.469 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.032) 0:01:29.502 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.031) 0:01:29.533 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:36 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.201) 0:01:29.734 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.046) 0:01:29.780 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.080) 0:01:29.861 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.023) 0:01:29.885 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.205) 0:01:30.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:57:29 +0000 (0:00:00.037) 0:01:30.128 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019888", "end": "2023-12-09 13:57:30.040717", "rc": 1, "start": "2023-12-09 13:57:30.020829" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.249) 0:01:30.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.028) 0:01:30.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.031) 0:01:30.438 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.024) 0:01:30.463 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.022) 0:01:30.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.032) 0:01:30.518 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 09 December 2023 13:57:30 +0000 (0:00:00.034) 0:01:30.552 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.877028", "end": "2023-12-09 13:57:31.290252", "rc": 0, "start": "2023-12-09 13:57:30.413224" } STDOUT: NetworkManager-1.40.16-9.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 09 December 2023 13:57:31 +0000 (0:00:01.104) 0:01:31.656 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.025) 0:01:31.682 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:42 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.024) 0:01:31.706 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.045) 0:01:31.752 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.039) 0:01:31.791 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.199) 0:01:31.991 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:47 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.027) 0:01:32.018 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/run_test.yml:66 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.026) 0:01:32.044 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 09 December 2023 13:57:31 +0000 (0:00:00.046) 0:01:32.091 ***** 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.039150", "end": "2023-12-09 13:57:31.991184", "rc": 1, "start": "2023-12-09 13:57:31.952034" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Saturday 09 December 2023 13:57:32 +0000 (0:00:00.222) 0:01:32.314 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.30s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.12s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.64s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.50s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---