# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tests_states_initscripts.yml:5 Thursday 14 March 2024 21:43:48 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tests_states_initscripts.yml:8 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.733) 0:00:00.745 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml:3 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.022) 0:00:00.767 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml:19 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.331) 0:00:01.098 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml:24 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.251) 0:00:01.350 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml:28 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.020) 0:00:01.370 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/el_repo_setup.yml:53 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.018) 0:00:01.388 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml:8 Thursday 14 March 2024 21:43:49 +0000 (0:00:00.031) 0:00:01.419 ******** 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-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml:24 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.258) 0:00:01.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml:30 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.013) 0:00:01.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml:35 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.013) 0:00:01.705 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.254749", "end": "2024-03-14 21:43:50.644008", "rc": 0, "start": "2024-03-14 21:43:50.389259" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tasks/enable_epel.yml:40 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.452) 0:00:02.157 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/tests_states_initscripts.yml:10 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.009) 0:00:02.167 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:3 Thursday 14 March 2024 21:43:50 +0000 (0:00:00.009) 0:00:02.176 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:11 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.494) 0:00:02.671 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:22 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.014) 0:00:02.685 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.016) 0:00:02.702 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.012) 0:00:02.714 ******** 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": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.035) 0:00:02.750 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.014) 0:00:02.765 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.013) 0:00:02.779 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2024-03-14 21:43:51.465853", "rc": 0, "start": "2024-03-14 21:43:51.462167" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.206) 0:00:02.985 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.013) 0:00:02.998 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.012) 0:00:03.011 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.021) 0:00:03.032 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008963", "end": "2024-03-14 21:43:51.714292", "rc": 1, "start": "2024-03-14 21:43:51.705329" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.200) 0:00:03.233 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.017) 0:00:03.250 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.200) 0:00:03.451 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.013) 0:00:03.464 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:43:51 +0000 (0:00:00.019) 0:00:03.484 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:43:52 +0000 (0:00:00.083) 0:00:03.567 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:43:52 +0000 (0:00:00.021) 0:00:03.589 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:43:52 +0000 (0:00:00.013) 0:00:03.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-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:43:52 +0000 (0:00:00.016) 0:00:03.619 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:43:52 +0000 (0:00:00.014) 0:00:03.634 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:43:53 +0000 (0:00:01.757) 0:00:05.391 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:43:55 +0000 (0:00:01.475) 0:00:06.867 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.023) 0:00:06.891 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.021) 0:00:06.913 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.021) 0:00:06.934 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.026) 0:00:06.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.023) 0:00:06.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.025) 0:00:07.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.050) 0:00:07.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.023) 0:00:07.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.024) 0:00:07.108 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.027) 0:00:07.136 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.027) 0:00:07.163 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:43:55 +0000 (0:00:00.022) 0:00:07.186 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:43:56 +0000 (0:00:00.540) 0:00:07.727 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpdxx70dts" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:43:56 +0000 (0:00:00.312) 0:00:08.040 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:43:56 +0000 (0:00:00.412) 0:00:08.452 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:43:56 +0000 (0:00:00.028) 0:00:08.481 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.024) 0:00:08.506 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.031) 0:00:08.538 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.024) 0:00:08.562 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.307) 0:00:08.870 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.024) 0:00:08.894 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.042) 0:00:08.937 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.066) 0:00:09.004 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.022) 0:00:09.027 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452636.9257, "block_size": 4096, "blocks": 8, "ctime": 1710452636.9257, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452636.9257, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.207) 0:00:09.234 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.026) 0:00:09.261 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021615", "end": "2024-03-14 21:43:57.954090", "rc": 1, "start": "2024-03-14 21:43:57.932475" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:43:57 +0000 (0:00:00.216) 0:00:09.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.023) 0:00:09.501 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003488", "end": "2024-03-14 21:43:58.185992", "rc": 0, "start": "2024-03-14 21:43:58.182504" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.212) 0:00:09.714 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.027) 0:00:09.742 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003499", "end": "2024-03-14 21:43:58.432122", "rc": 0, "start": "2024-03-14 21:43:58.428623" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.218) 0:00:09.960 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.029) 0:00:09.990 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.026) 0:00:10.017 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.028) 0:00:10.046 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.024) 0:00:10.071 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.031) 0:00:10.102 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.067) 0:00:10.170 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.043) 0:00:10.213 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041257", "end": "2024-03-14 21:43:58.945063", "rc": 1, "start": "2024-03-14 21:43:58.903806" } 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-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:45 Thursday 14 March 2024 21:43:58 +0000 (0:00:00.257) 0:00:10.471 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.039) 0:00:10.511 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.023) 0:00:10.535 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.046) 0:00:10.581 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.036) 0:00:10.618 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.035) 0:00:10.654 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003712", "end": "2024-03-14 21:43:59.345414", "rc": 0, "start": "2024-03-14 21:43:59.341702" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.217) 0:00:10.871 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.024) 0:00:10.896 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.022) 0:00:10.918 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.073) 0:00:10.992 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006824", "end": "2024-03-14 21:43:59.680633", "rc": 1, "start": "2024-03-14 21:43:59.673809" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.212) 0:00:11.205 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.040) 0:00:11.245 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.201) 0:00:11.447 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:43:59 +0000 (0:00:00.026) 0:00:11.473 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.042) 0:00:11.515 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.042) 0:00:11.558 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.041) 0:00:11.599 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.027) 0:00:11.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.021) 0:00:11.648 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:00 +0000 (0:00:00.048) 0:00:11.697 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:01 +0000 (0:00:01.671) 0:00:13.369 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:03 +0000 (0:00:01.342) 0:00:14.712 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.056) 0:00:14.768 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.025) 0:00:14.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.027) 0:00:14.821 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.028) 0:00:14.849 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.031) 0:00:14.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.026) 0:00:14.907 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.044) 0:00:14.951 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.021) 0:00:14.973 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.022) 0:00:14.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.026) 0:00:15.022 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.021) 0:00:15.044 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.022) 0:00:15.067 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:03 +0000 (0:00:00.359) 0:00:15.426 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpt2xwymry" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.307) 0:00:15.734 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.328) 0:00:16.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.022) 0:00:16.085 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.023) 0:00:16.109 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.022) 0:00:16.132 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.022) 0:00:16.154 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.205) 0:00:16.360 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.027) 0:00:16.387 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.046) 0:00:16.433 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:44:04 +0000 (0:00:00.036) 0:00:16.470 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.208) 0:00:16.679 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.027) 0:00:16.707 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.067) 0:00:16.774 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.023) 0:00:16.798 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452644.5364425, "block_size": 4096, "blocks": 8, "ctime": 1710452644.5364425, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452644.5364425, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.197) 0:00:16.996 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.026) 0:00:17.022 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020960", "end": "2024-03-14 21:44:05.716497", "rc": 1, "start": "2024-03-14 21:44:05.695537" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.218) 0:00:17.240 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.023) 0:00:17.264 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003136", "end": "2024-03-14 21:44:05.939326", "rc": 0, "start": "2024-03-14 21:44:05.936190" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:44:05 +0000 (0:00:00.204) 0:00:17.469 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.029) 0:00:17.498 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002934", "end": "2024-03-14 21:44:06.174610", "rc": 0, "start": "2024-03-14 21:44:06.171676" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.201) 0:00:17.699 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.028) 0:00:17.728 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.025) 0:00:17.754 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.025) 0:00:17.780 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.024) 0:00:17.805 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.021) 0:00:17.826 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.059) 0:00:17.885 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.043) 0:00:17.928 ******** 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.044732", "end": "2024-03-14 21:44:06.648402", "rc": 1, "start": "2024-03-14 21:44:06.603670" } 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-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:65 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.247) 0:00:18.175 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.047) 0:00:18.222 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.026) 0:00:18.249 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.053) 0:00:18.303 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.041) 0:00:18.344 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:44:06 +0000 (0:00:00.048) 0:00:18.392 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003671", "end": "2024-03-14 21:44:07.080978", "rc": 0, "start": "2024-03-14 21:44:07.077307" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.219) 0:00:18.612 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.024) 0:00:18.636 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.022) 0:00:18.659 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.065) 0:00:18.725 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.037) 0:00:18.763 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.042) 0:00:18.805 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.036) 0:00:18.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.034) 0:00:18.877 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:07 +0000 (0:00:00.023) 0:00:18.900 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:09 +0000 (0:00:01.655) 0:00:20.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-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:10 +0000 (0:00:01.343) 0:00:21.899 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.023) 0:00:21.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.022) 0:00:21.945 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.022) 0:00:21.968 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.026) 0:00:21.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.022) 0:00:22.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.025) 0:00:22.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.043) 0:00:22.085 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.054) 0:00:22.139 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.024) 0:00:22.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.028) 0:00:22.192 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.028) 0:00:22.221 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:10 +0000 (0:00:00.030) 0:00:22.251 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.365) 0:00:22.617 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpfvkxvjx_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.340) 0:00:22.958 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.318) 0:00:23.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.025) 0:00:23.302 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.025) 0:00:23.328 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.026) 0:00:23.354 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:11 +0000 (0:00:00.030) 0:00:23.384 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.200) 0:00:23.585 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.054) 0:00:23.640 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.040) 0:00:23.680 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.043) 0:00:23.724 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.043) 0:00:23.767 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.028) 0:00:23.796 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.022) 0:00:23.819 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:12 +0000 (0:00:00.021) 0:00:23.841 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:13 +0000 (0:00:01.645) 0:00:25.486 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:15 +0000 (0:00:01.319) 0:00:26.805 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.037) 0:00:26.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.022) 0:00:26.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.024) 0:00:26.889 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.027) 0:00:26.916 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.021) 0:00:26.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.027) 0:00:26.966 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.070) 0:00:27.037 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.022) 0:00:27.059 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.023) 0:00:27.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.026) 0:00:27.108 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.023) 0:00:27.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:15 +0000 (0:00:00.023) 0:00:27.155 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.369) 0:00:27.525 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmp1ef5h_ne" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.319) 0:00:27.844 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.573) 0:00:28.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.023) 0:00:28.441 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.024) 0:00:28.466 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:16 +0000 (0:00:00.025) 0:00:28.491 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.048) 0:00:28.539 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.206) 0:00:28.746 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.046) 0:00:28.792 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.038) 0:00:28.831 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452656.7931876, "block_size": 4096, "blocks": 0, "ctime": 1710452656.7931876, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32890, "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": 1710452656.7931876, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.211) 0:00:29.042 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.025) 0:00:29.068 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.039) 0:00:29.107 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.022) 0:00:29.129 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452656.6120338, "block_size": 4096, "blocks": 8, "ctime": 1710452651.7411985, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452651.7411985, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.195) 0:00:29.325 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:44:17 +0000 (0:00:00.024) 0:00:29.349 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022413", "end": "2024-03-14 21:44:18.042950", "rc": 1, "start": "2024-03-14 21:44:18.020537" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.219) 0:00:29.568 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.063) 0:00:29.632 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003487", "end": "2024-03-14 21:44:18.323176", "rc": 0, "start": "2024-03-14 21:44:18.319689" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.219) 0:00:29.851 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.030) 0:00:29.882 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003661", "end": "2024-03-14 21:44:18.574727", "rc": 0, "start": "2024-03-14 21:44:18.571066" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.222) 0:00:30.105 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.035) 0:00:30.140 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.027) 0:00:30.168 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.025) 0:00:30.194 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.023) 0:00:30.218 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.020) 0:00:30.238 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.022) 0:00:30.260 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:44:18 +0000 (0:00:00.042) 0:00:30.303 ******** ok: [sut] => { "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.052634", "end": "2024-03-14 21:44:19.026556", "rc": 0, "start": "2024-03-14 21:44:18.973922" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:83 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.250) 0:00:30.553 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.076) 0:00:30.630 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.037) 0:00:30.668 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.077) 0:00:30.745 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.048) 0:00:30.793 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.035) 0:00:30.829 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003728", "end": "2024-03-14 21:44:19.514172", "rc": 0, "start": "2024-03-14 21:44:19.510444" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.211) 0:00:31.040 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.023) 0:00:31.063 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.022) 0:00:31.086 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.042) 0:00:31.128 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.039) 0:00:31.167 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.078) 0:00:31.246 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.029) 0:00:31.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.022) 0:00:31.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:19 +0000 (0:00:00.022) 0:00:31.320 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:21 +0000 (0:00:01.614) 0:00:32.935 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:22 +0000 (0:00:01.362) 0:00:34.297 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.024) 0:00:34.322 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.035) 0:00:34.357 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.025) 0:00:34.383 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.030) 0:00:34.413 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.030) 0:00:34.444 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:22 +0000 (0:00:00.033) 0:00:34.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.049) 0:00:34.528 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.024) 0:00:34.552 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.021) 0:00:34.574 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.026) 0:00:34.601 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.021) 0:00:34.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.020) 0:00:34.643 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.367) 0:00:35.011 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpwjgkf8h_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:23 +0000 (0:00:00.310) 0:00:35.322 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.293) 0:00:35.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.021) 0:00:35.637 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.023) 0:00:35.661 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.023) 0:00:35.684 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.021) 0:00:35.705 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.228) 0:00:35.934 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.030) 0:00:35.964 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.053) 0:00:36.018 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.052) 0:00:36.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-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.030) 0:00:36.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.027) 0:00:36.128 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:24 +0000 (0:00:00.048) 0:00:36.177 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:26 +0000 (0:00:01.639) 0:00:37.816 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:27 +0000 (0:00:01.329) 0:00:39.146 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.047) 0:00:39.194 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.022) 0:00:39.216 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.022) 0:00:39.238 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.026) 0:00:39.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.029) 0:00:39.294 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.033) 0:00:39.328 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.046) 0:00:39.374 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.025) 0:00:39.400 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.023) 0:00:39.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.025) 0:00:39.450 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:27 +0000 (0:00:00.023) 0:00:39.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:28 +0000 (0:00:00.023) 0:00:39.496 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:28 +0000 (0:00:00.361) 0:00:39.858 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpku3t4xw7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:28 +0000 (0:00:00.317) 0:00:40.175 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.634) 0:00:40.810 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.024) 0:00:40.834 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.024) 0:00:40.858 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.023) 0:00:40.882 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.022) 0:00:40.904 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.198) 0:00:41.103 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.043) 0:00:41.147 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.043) 0:00:41.190 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.041) 0:00:41.232 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.028) 0:00:41.260 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.026) 0:00:41.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:29 +0000 (0:00:00.049) 0:00:41.336 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:31 +0000 (0:00:01.671) 0:00:43.007 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:32 +0000 (0:00:01.340) 0:00:44.348 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:32 +0000 (0:00:00.052) 0:00:44.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:32 +0000 (0:00:00.022) 0:00:44.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:32 +0000 (0:00:00.023) 0:00:44.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:32 +0000 (0:00:00.030) 0:00:44.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.022) 0:00:44.501 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.026) 0:00:44.527 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.046) 0:00:44.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.025) 0:00:44.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.024) 0:00:44.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.030) 0:00:44.654 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.026) 0:00:44.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.028) 0:00:44.709 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.351) 0:00:45.061 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmp3bzxp3vr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:33 +0000 (0:00:00.343) 0:00:45.404 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.364) 0:00:45.769 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.024) 0:00:45.793 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.027) 0:00:45.820 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.029) 0:00:45.850 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.023) 0:00:45.873 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.206) 0:00:46.079 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.050) 0:00:46.130 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.047) 0:00:46.177 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452669.1854835, "block_size": 4096, "blocks": 0, "ctime": 1710452669.1854835, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33021, "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": 1710452669.1854835, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.216) 0:00:46.394 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.024) 0:00:46.418 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:44:34 +0000 (0:00:00.038) 0:00:46.457 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.055) 0:00:46.512 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.197) 0:00:46.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.023) 0:00:46.733 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021451", "end": "2024-03-14 21:44:35.425160", "rc": 1, "start": "2024-03-14 21:44:35.403709" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.218) 0:00:46.952 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.027) 0:00:46.979 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.036) 0:00:47.015 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.025) 0:00:47.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.025) 0:00:47.067 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.026) 0:00:47.093 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.025) 0:00:47.119 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.020) 0:00:47.139 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.026) 0:00:47.166 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.041) 0:00:47.208 ******** ok: [sut] => { "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.047409", "end": "2024-03-14 21:44:35.927835", "rc": 0, "start": "2024-03-14 21:44:35.880426" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:103 Thursday 14 March 2024 21:44:35 +0000 (0:00:00.275) 0:00:47.483 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.038) 0:00:47.522 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.027) 0:00:47.549 ******** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.050) 0:00:47.600 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.037) 0:00:47.638 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.039) 0:00:47.677 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003689", "end": "2024-03-14 21:44:36.369362", "rc": 0, "start": "2024-03-14 21:44:36.365673" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.219) 0:00:47.896 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.023) 0:00:47.919 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.022) 0:00:47.941 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.044) 0:00:47.986 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.037) 0:00:48.024 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.070) 0:00:48.094 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.028) 0:00:48.122 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.024) 0:00:48.147 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:36 +0000 (0:00:00.025) 0:00:48.173 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:38 +0000 (0:00:01.641) 0:00:49.815 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:39 +0000 (0:00:01.364) 0:00:51.179 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.023) 0:00:51.202 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.022) 0:00:51.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.022) 0:00:51.248 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.027) 0:00:51.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.024) 0:00:51.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.033) 0:00:51.333 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.046) 0:00:51.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.023) 0:00:51.402 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.022) 0:00:51.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.024) 0:00:51.450 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:39 +0000 (0:00:00.022) 0:00:51.472 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:40 +0000 (0:00:00.052) 0:00:51.524 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:40 +0000 (0:00:00.368) 0:00:51.893 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpjaszicfj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:40 +0000 (0:00:00.315) 0:00:52.208 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.293) 0:00:52.502 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.022) 0:00:52.524 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.023) 0:00:52.547 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.023) 0:00:52.571 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.022) 0:00:52.593 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.203) 0:00:52.797 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.025) 0:00:52.823 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.039) 0:00:52.863 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.067) 0:00:52.930 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.029) 0:00:52.960 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.023) 0:00:52.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:41 +0000 (0:00:00.023) 0:00:53.007 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:43 +0000 (0:00:01.632) 0:00:54.639 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:44 +0000 (0:00:01.337) 0:00:55.977 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.025) 0:00:56.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.023) 0:00:56.027 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.021) 0:00:56.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.026) 0:00:56.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.022) 0:00:56.098 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.024) 0:00:56.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.044) 0:00:56.167 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.022) 0:00:56.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.021) 0:00:56.212 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.025) 0:00:56.237 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.022) 0:00:56.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:44 +0000 (0:00:00.021) 0:00:56.281 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:45 +0000 (0:00:00.359) 0:00:56.641 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmptfwi9s_o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:45 +0000 (0:00:00.316) 0:00:56.957 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.580) 0:00:57.538 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.024) 0:00:57.562 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.028) 0:00:57.590 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.026) 0:00:57.617 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.025) 0:00:57.642 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.201) 0:00:57.844 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.037) 0:00:57.881 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.077) 0:00:57.959 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.030) 0:00:57.989 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.023) 0:00:58.013 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:46 +0000 (0:00:00.024) 0:00:58.037 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:48 +0000 (0:00:01.719) 0:00:59.757 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:49 +0000 (0:00:01.358) 0:01:01.115 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.023) 0:01:01.138 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.025) 0:01:01.163 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.033) 0:01:01.196 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.029) 0:01:01.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.024) 0:01:01.250 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.026) 0:01:01.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.044) 0:01:01.322 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.023) 0:01:01.345 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.023) 0:01:01.369 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.025) 0:01:01.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.022) 0:01:01.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:49 +0000 (0:00:00.022) 0:01:01.439 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:50 +0000 (0:00:00.367) 0:01:01.807 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpzoqurpws" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:50 +0000 (0:00:00.302) 0:01:02.110 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:50 +0000 (0:00:00.317) 0:01:02.427 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:50 +0000 (0:00:00.023) 0:01:02.450 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:50 +0000 (0:00:00.023) 0:01:02.474 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.024) 0:01:02.498 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.022) 0:01:02.521 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.202) 0:01:02.724 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.042) 0:01:02.766 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.042) 0:01:02.809 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.069) 0:01:02.878 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.028) 0:01:02.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.022) 0:01:02.929 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:51 +0000 (0:00:00.022) 0:01:02.951 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:53 +0000 (0:00:01.660) 0:01:04.612 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:44:54 +0000 (0:00:01.348) 0:01:05.960 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.024) 0:01:05.985 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.022) 0:01:06.007 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.022) 0:01:06.030 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.027) 0:01:06.057 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.022) 0:01:06.080 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.025) 0:01:06.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.044) 0:01:06.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.025) 0:01:06.174 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.021) 0:01:06.196 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.025) 0:01:06.221 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.021) 0:01:06.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:44:54 +0000 (0:00:00.022) 0:01:06.266 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.391) 0:01:06.657 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpoz3ldxs_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.312) 0:01:06.969 ******** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.305) 0:01:07.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.022) 0:01:07.297 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.023) 0:01:07.321 ******** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.024) 0:01:07.345 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:44:55 +0000 (0:00:00.029) 0:01:07.374 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.199) 0:01:07.573 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.043) 0:01:07.616 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.040) 0:01:07.656 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.024) 0:01:07.681 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.227) 0:01:07.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.022) 0:01:07.931 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022667", "end": "2024-03-14 21:44:56.638059", "rc": 1, "start": "2024-03-14 21:44:56.615392" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.234) 0:01:08.165 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.024) 0:01:08.189 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.022) 0:01:08.212 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.024) 0:01:08.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.027) 0:01:08.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.026) 0:01:08.290 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.028) 0:01:08.318 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.028) 0:01:08.347 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.023) 0:01:08.370 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:44:56 +0000 (0:00:00.042) 0:01:08.412 ******** ok: [sut] => { "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.051293", "end": "2024-03-14 21:44:57.147907", "rc": 0, "start": "2024-03-14 21:44:57.096614" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tests_states.yml:126 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.288) 0:01:08.701 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.084) 0:01:08.785 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.024) 0:01:08.809 ******** 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.048) 0:01:08.857 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.036) 0:01:08.894 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.036) 0:01:08.930 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2024-03-14 21:44:57.618465", "rc": 0, "start": "2024-03-14 21:44:57.614731" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.214) 0:01:09.144 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.023) 0:01:09.168 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.022) 0:01:09.191 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.045) 0:01:09.237 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.037) 0:01:09.274 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.068) 0:01:09.343 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.029) 0:01:09.372 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.024) 0:01:09.397 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:44:57 +0000 (0:00:00.024) 0:01:09.421 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:44:59 +0000 (0:00:01.681) 0:01:11.103 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:45:00 +0000 (0:00:01.347) 0:01:12.450 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:45:00 +0000 (0:00:00.025) 0:01:12.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.024) 0:01:12.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.022) 0:01:12.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.029) 0:01:12.553 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.023) 0:01:12.576 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.027) 0:01:12.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-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.055) 0:01:12.659 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.025) 0:01:12.684 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.024) 0:01:12.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.042) 0:01:12.752 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.027) 0:01:12.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.024) 0:01:12.804 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:45:01 +0000 (0:00:00.381) 0:01:13.186 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpif89dsyu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.328) 0:01:13.514 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.299) 0:01:13.813 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.024) 0:01:13.838 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.027) 0:01:13.865 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.038) 0:01:13.904 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.024) 0:01:13.929 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.209) 0:01:14.139 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.028) 0:01:14.167 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.038) 0:01:14.206 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.043) 0:01:14.249 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.028) 0:01:14.278 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.021) 0:01:14.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:45:02 +0000 (0:00:00.054) 0:01:14.355 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:45:04 +0000 (0:00:01.648) 0:01:16.004 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:45:05 +0000 (0:00:01.332) 0:01:17.336 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:45:05 +0000 (0:00:00.062) 0:01:17.399 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:45:05 +0000 (0:00:00.033) 0:01:17.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:45:05 +0000 (0:00:00.038) 0:01:17.470 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.030) 0:01:17.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.022) 0:01:17.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.026) 0:01:17.549 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.043) 0:01:17.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.022) 0:01:17.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.022) 0:01:17.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.025) 0:01:17.664 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.024) 0:01:17.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.029) 0:01:17.718 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.367) 0:01:18.085 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpdmc7m9in" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:45:06 +0000 (0:00:00.310) 0:01:18.395 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.612) 0:01:19.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-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.029) 0:01:19.038 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.027) 0:01:19.066 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.025) 0:01:19.091 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.022) 0:01:19.113 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.194) 0:01:19.308 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.038) 0:01:19.346 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.043) 0:01:19.390 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.027) 0:01:19.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.022) 0:01:19.439 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:45:07 +0000 (0:00:00.022) 0:01:19.461 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:45:09 +0000 (0:00:01.688) 0:01:21.150 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:45:11 +0000 (0:00:01.349) 0:01:22.499 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.023) 0:01:22.522 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.051) 0:01:22.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.022) 0:01:22.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.029) 0:01:22.625 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.022) 0:01:22.648 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.025) 0:01:22.673 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.043) 0:01:22.717 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.022) 0:01:22.740 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.022) 0:01:22.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.028) 0:01:22.791 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.022) 0:01:22.813 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.021) 0:01:22.834 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.349) 0:01:23.184 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmpa5om8qrs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:45:11 +0000 (0:00:00.294) 0:01:23.478 ******** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.405) 0:01:23.883 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.034) 0:01:23.917 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.039) 0:01:23.957 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.050) 0:01:24.008 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.030) 0:01:24.038 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.202) 0:01:24.241 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.041) 0:01:24.283 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.038) 0:01:24.321 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.044) 0:01:24.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.030) 0:01:24.395 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.026) 0:01:24.422 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 March 2024 21:45:12 +0000 (0:00:00.026) 0:01:24.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 March 2024 21:45:14 +0000 (0:00:01.559) 0:01:26.007 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 March 2024 21:45:15 +0000 (0:00:01.326) 0:01:27.334 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 March 2024 21:45:15 +0000 (0:00:00.023) 0:01:27.358 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 March 2024 21:45:15 +0000 (0:00:00.043) 0:01:27.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 14 March 2024 21:45:15 +0000 (0:00:00.023) 0:01:27.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 14 March 2024 21:45:15 +0000 (0:00:00.035) 0:01:27.460 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:57 Thursday 14 March 2024 21:45:15 +0000 (0:00:00.023) 0:01:27.483 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:77 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.025) 0:01:27.508 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.043) 0:01:27.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.022) 0:01:27.574 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.021) 0:01:27.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.025) 0:01:27.621 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.022) 0:01:27.643 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.021) 0:01:27.665 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.361) 0:01:28.026 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19570w4msg2m7/tmp6l0qmraf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 Thursday 14 March 2024 21:45:16 +0000 (0:00:00.323) 0:01:28.350 ******** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:185 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.369) 0:01:28.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:191 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.022) 0:01:28.743 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.024) 0:01:28.767 ******** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.028) 0:01:28.796 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.024) 0:01:28.820 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.194) 0:01:29.014 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.048) 0:01:29.063 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.040) 0:01:29.103 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.024) 0:01:29.128 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.208) 0:01:29.336 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:45:17 +0000 (0:00:00.023) 0:01:29.360 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022757", "end": "2024-03-14 21:45:18.065324", "rc": 1, "start": "2024-03-14 21:45:18.042567" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.233) 0:01:29.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.028) 0:01:29.622 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.075) 0:01:29.697 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.024) 0:01:29.722 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.024) 0:01:29.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.023) 0:01:29.771 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 14 March 2024 21:45:18 +0000 (0:00:00.025) 0:01:29.796 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.969726", "end": "2024-03-14 21:45:19.446582", "rc": 0, "start": "2024-03-14 21:45:18.476856" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 14 March 2024 21:45:19 +0000 (0:00:01.177) 0:01:30.974 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.023) 0:01:30.997 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.025) 0:01:31.023 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.028) 0:01:31.051 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.027) 0:01:31.078 ******** included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.076) 0:01:31.155 ******** ok: [sut] => { "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.049803", "end": "2024-03-14 21:45:19.878670", "rc": 0, "start": "2024-03-14 21:45:19.828867" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 14 March 2024 21:45:19 +0000 (0:00:00.250) 0:01:31.405 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009462", "end": "2024-03-14 21:45:20.084836", "rc": 0, "start": "2024-03-14 21:45:20.075374" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:bf:51:ee:df:e7 brd ff:ff:ff:ff:ff:ff inet 10.31.11.116/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2220sec preferred_lft 2220sec inet6 fe80::10bf:51ff:feee:dfe7/64 scope link valid_lft forever preferred_lft forever 44: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether fe:63:a6:31:05:2c brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.116 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.116 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 14 March 2024 21:45:20 +0000 (0:00:00.216) 0:01:31.621 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.145841", "end": "2024-03-14 21:45:20.465586", "rc": 0, "start": "2024-03-14 21:45:20.319745" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 11296 0 --:--:-- --:--:-- --:--:-- 11296 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3779 0 --:--:-- --:--:-- --:--:-- 3779 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=271 rescued=0 ignored=10 Thursday 14 March 2024 21:45:20 +0000 (0:00:00.369) 0:01:31.991 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.40s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable network service --------------------- 2.02s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:156 linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.62s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.61s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/main.yml:164 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-nm_plugin_hotfix5r9_tnc0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---