# 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_hotfix_jagk25i/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_hotfix_jagk25i/tests/tests_states_initscripts.yml:5 Thursday 22 February 2024 03:34:37 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tests_states_initscripts.yml:8 Thursday 22 February 2024 03:34:38 +0000 (0:00:00.719) 0:00:00.731 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:34:38 +0000 (0:00:00.021) 0:00:00.753 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:19 Thursday 22 February 2024 03:34:38 +0000 (0:00:00.347) 0:00:01.101 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:24 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.252) 0:00:01.353 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:28 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.020) 0:00:01.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:53 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.017) 0:00:01.391 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.029) 0:00:01.421 ***** 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_hotfix_jagk25i/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.248) 0:00:01.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.010) 0:00:01.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.010) 0:00:01.691 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.260261", "end": "2024-02-22 03:34:39.931837", "rc": 0, "start": "2024-02-22 03:34:39.671576" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.450) 0:00:02.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tests_states_initscripts.yml:10 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.009) 0:00:02.150 ***** 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:3 Thursday 22 February 2024 03:34:39 +0000 (0:00:00.009) 0:00:02.160 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_states.yml:11 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.473) 0:00:02.633 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_states.yml:22 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.010) 0:00:02.644 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.014) 0:00:02.659 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.010) 0:00:02.669 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.034) 0:00:02.704 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.013) 0:00:02.717 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.012) 0:00:02.729 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-02-22 03:34:40.711349", "rc": 0, "start": "2024-02-22 03:34:40.707952" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.192) 0:00:02.921 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.012) 0:00:02.933 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.012) 0:00:02.946 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.020) 0:00:02.967 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008283", "end": "2024-02-22 03:34:40.957257", "rc": 1, "start": "2024-02-22 03:34:40.948974" } 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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.198) 0:00:03.166 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:34:40 +0000 (0:00:00.015) 0:00:03.181 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.195) 0:00:03.377 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.013) 0:00:03.390 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.018) 0:00:03.409 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.082) 0:00:03.491 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.020) 0:00:03.511 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.011) 0:00:03.523 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.010) 0:00:03.534 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:34:41 +0000 (0:00:00.010) 0:00:03.545 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:34:43 +0000 (0:00:01.706) 0:00:05.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:34:44 +0000 (0:00:01.471) 0:00:06.723 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:34:44 +0000 (0:00:00.023) 0:00:06.746 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:34:44 +0000 (0:00:00.021) 0:00:06.768 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:34:44 +0000 (0:00:00.021) 0:00:06.789 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:34:51 +0000 (0:00:06.676) 0:00:13.466 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.021) 0:00:13.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.024) 0:00:13.512 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.042) 0:00:13.555 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.021) 0:00:13.576 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.021) 0:00:13.598 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.043) 0:00:13.641 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.022) 0:00:13.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.021) 0:00:13.685 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:34:51 +0000 (0:00:00.479) 0:00:14.164 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp04v3gbl1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.295) 0:00:14.460 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.399) 0:00:14.860 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.022) 0:00:14.882 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.023) 0:00:14.906 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.023) 0:00:14.930 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:34:52 +0000 (0:00:00.021) 0:00:14.952 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.266) 0:00:15.218 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.044) 0:00:15.263 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.041) 0:00:15.304 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.038) 0:00:15.342 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.021) 0:00:15.364 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708572892.6385067, "block_size": 4096, "blocks": 8, "ctime": 1708572892.6385067, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708572892.6385067, "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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.197) 0:00:15.562 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.022) 0:00:15.585 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020264", "end": "2024-02-22 03:34:53.584760", "rc": 1, "start": "2024-02-22 03:34:53.564496" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.218) 0:00:15.804 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.023) 0:00:15.827 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003226", "end": "2024-02-22 03:34:53.814640", "rc": 0, "start": "2024-02-22 03:34:53.811414" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.209) 0:00:16.037 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:34:53 +0000 (0:00:00.026) 0:00:16.063 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003336", "end": "2024-02-22 03:34:54.048053", "rc": 0, "start": "2024-02-22 03:34:54.044717" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.207) 0:00:16.271 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.053) 0:00:16.324 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.024) 0:00:16.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.025) 0:00:16.374 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.023) 0:00:16.397 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.024) 0:00:16.422 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.023) 0:00:16.445 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.041) 0:00:16.487 ***** 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.038850", "end": "2024-02-22 03:34:54.505609", "rc": 1, "start": "2024-02-22 03:34:54.466759" } 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:45 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.238) 0:00:16.725 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.036) 0:00:16.762 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.022) 0:00:16.784 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.045) 0:00:16.829 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.034) 0:00:16.864 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.055) 0:00:16.919 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2024-02-22 03:34:54.903054", "rc": 0, "start": "2024-02-22 03:34:54.899639" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.203) 0:00:17.123 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.022) 0:00:17.146 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:34:54 +0000 (0:00:00.022) 0:00:17.168 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.041) 0:00:17.210 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006555", "end": "2024-02-22 03:34:55.197591", "rc": 1, "start": "2024-02-22 03:34:55.191036" } 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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.207) 0:00:17.417 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.035) 0:00:17.453 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.201) 0:00:17.654 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.023) 0:00:17.678 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.040) 0:00:17.718 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.063) 0:00:17.782 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.041) 0:00:17.823 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.026) 0:00:17.850 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.022) 0:00:17.872 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:34:55 +0000 (0:00:00.021) 0:00:17.894 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:34:57 +0000 (0:00:01.622) 0:00:19.516 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:34:58 +0000 (0:00:01.341) 0:00:20.858 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:34:58 +0000 (0:00:00.023) 0:00:20.882 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:34:58 +0000 (0:00:00.022) 0:00:20.904 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:34:58 +0000 (0:00:00.021) 0:00:20.926 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:35:05 +0000 (0:00:06.379) 0:00:27.305 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.022) 0:00:27.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.026) 0:00:27.354 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.054) 0:00:27.409 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.021) 0:00:27.430 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.044) 0:00:27.475 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.027) 0:00:27.502 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.021) 0:00:27.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.022) 0:00:27.546 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:35:05 +0000 (0:00:00.355) 0:00:27.902 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp5m5uj8vr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.316) 0:00:28.218 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.295) 0:00:28.514 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.021) 0:00:28.536 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.022) 0:00:28.559 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.022) 0:00:28.581 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.021) 0:00:28.603 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.197) 0:00:28.800 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.032) 0:00:28.832 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.103) 0:00:28.935 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.036) 0:00:28.972 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:35:06 +0000 (0:00:00.204) 0:00:29.177 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.023) 0:00:29.201 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.038) 0:00:29.239 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.021) 0:00:29.260 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708572906.2929707, "block_size": 4096, "blocks": 8, "ctime": 1708572906.2929707, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708572906.2929707, "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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.198) 0:00:29.458 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.022) 0:00:29.481 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019520", "end": "2024-02-22 03:35:07.478433", "rc": 1, "start": "2024-02-22 03:35:07.458913" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.223) 0:00:29.704 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.024) 0:00:29.729 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003297", "end": "2024-02-22 03:35:07.715444", "rc": 0, "start": "2024-02-22 03:35:07.712147" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.230) 0:00:29.960 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:35:07 +0000 (0:00:00.028) 0:00:29.988 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003348", "end": "2024-02-22 03:35:07.972150", "rc": 0, "start": "2024-02-22 03:35:07.968802" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.206) 0:00:30.194 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.026) 0:00:30.221 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.024) 0:00:30.245 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.024) 0:00:30.270 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.022) 0:00:30.292 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.020) 0:00:30.313 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.023) 0:00:30.336 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.040) 0:00:30.377 ***** 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.040269", "end": "2024-02-22 03:35:08.396846", "rc": 1, "start": "2024-02-22 03:35:08.356577" } 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:65 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.240) 0:00:30.617 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.060) 0:00:30.678 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.025) 0:00:30.704 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.097) 0:00:30.801 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.036) 0:00:30.837 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.034) 0:00:30.872 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2024-02-22 03:35:08.853637", "rc": 0, "start": "2024-02-22 03:35:08.850194" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.202) 0:00:31.074 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.023) 0:00:31.098 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.024) 0:00:31.123 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:35:08 +0000 (0:00:00.067) 0:00:31.190 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:35:09 +0000 (0:00:00.055) 0:00:31.246 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:35:09 +0000 (0:00:00.041) 0:00:31.287 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:35:09 +0000 (0:00:00.026) 0:00:31.313 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:35:09 +0000 (0:00:00.045) 0:00:31.359 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:35:09 +0000 (0:00:00.022) 0:00:31.382 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:35:10 +0000 (0:00:01.633) 0:00:33.015 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:35:12 +0000 (0:00:01.315) 0:00:34.331 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:35:12 +0000 (0:00:00.040) 0:00:34.372 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:35:12 +0000 (0:00:00.021) 0:00:34.394 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:35:12 +0000 (0:00:00.021) 0:00:34.416 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:35:18 +0000 (0:00:06.136) 0:00:40.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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.025) 0:00:40.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.026) 0:00:40.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.045) 0:00:40.650 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.040) 0:00:40.691 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.022) 0:00:40.713 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.025) 0:00:40.739 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.022) 0:00:40.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.024) 0:00:40.786 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:35:18 +0000 (0:00:00.372) 0:00:41.158 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp5kcf0pem" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.314) 0:00:41.473 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.298) 0:00:41.772 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.022) 0:00:41.794 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.029) 0:00:41.823 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.024) 0:00:41.847 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.022) 0:00:41.870 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.216) 0:00:42.087 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:35:19 +0000 (0:00:00.067) 0:00:42.155 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.044) 0:00:42.200 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.042) 0:00:42.243 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.041) 0:00:42.285 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.029) 0:00:42.314 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.021) 0:00:42.336 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:35:20 +0000 (0:00:00.027) 0:00:42.364 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:35:21 +0000 (0:00:01.647) 0:00:44.011 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:35:23 +0000 (0:00:01.305) 0:00:45.317 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:35:23 +0000 (0:00:00.023) 0:00:45.340 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:35:23 +0000 (0:00:00.021) 0:00:45.362 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:35:23 +0000 (0:00:00.022) 0:00:45.384 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:35:29 +0000 (0:00:06.162) 0:00:51.546 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.021) 0:00:51.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.025) 0:00:51.593 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.043) 0:00:51.637 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.021) 0:00:51.658 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.044) 0:00:51.703 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.026) 0:00:51.729 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.024) 0:00:51.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.022) 0:00:51.776 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:35:29 +0000 (0:00:00.354) 0:00:52.131 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpyw8xda93" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.301) 0:00:52.432 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.577) 0:00:53.010 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.021) 0:00:53.032 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.022) 0:00:53.054 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.022) 0:00:53.077 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:35:30 +0000 (0:00:00.020) 0:00:53.098 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.198) 0:00:53.296 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.085) 0:00:53.382 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.036) 0:00:53.419 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708572930.6922448, "block_size": 4096, "blocks": 0, "ctime": 1708572930.6922448, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32730, "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": 1708572930.6922448, "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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.205) 0:00:53.624 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.026) 0:00:53.650 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.039) 0:00:53.689 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.027) 0:00:53.717 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708572930.509019, "block_size": 4096, "blocks": 8, "ctime": 1708572919.5514505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708572919.5514505, "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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.201) 0:00:53.918 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.023) 0:00:53.941 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019989", "end": "2024-02-22 03:35:31.941717", "rc": 1, "start": "2024-02-22 03:35:31.921728" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.221) 0:00:54.163 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:35:31 +0000 (0:00:00.023) 0:00:54.186 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003184", "end": "2024-02-22 03:35:32.172017", "rc": 0, "start": "2024-02-22 03:35:32.168833" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.231) 0:00:54.418 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.027) 0:00:54.446 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003286", "end": "2024-02-22 03:35:32.432702", "rc": 0, "start": "2024-02-22 03:35:32.429416" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.209) 0:00:54.655 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.027) 0:00:54.682 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.026) 0:00:54.709 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.026) 0:00:54.735 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.024) 0:00:54.760 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.021) 0:00:54.782 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.023) 0:00:54.806 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.040) 0:00:54.847 ***** 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.043820", "end": "2024-02-22 03:35:32.872249", "rc": 0, "start": "2024-02-22 03:35:32.828429" } 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:83 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.248) 0:00:55.095 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.038) 0:00:55.134 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:35:32 +0000 (0:00:00.023) 0:00:55.157 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.077) 0:00:55.235 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.035) 0:00:55.271 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.035) 0:00:55.306 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-02-22 03:35:33.290140", "rc": 0, "start": "2024-02-22 03:35:33.286688" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.204) 0:00:55.511 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.022) 0:00:55.534 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.022) 0:00:55.556 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.043) 0:00:55.600 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.036) 0:00:55.636 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.040) 0:00:55.677 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.026) 0:00:55.704 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.046) 0:00:55.750 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:35:33 +0000 (0:00:00.022) 0:00:55.772 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:35:35 +0000 (0:00:01.619) 0:00:57.392 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:35:36 +0000 (0:00:01.309) 0:00:58.701 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:35:36 +0000 (0:00:00.043) 0:00:58.745 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:35:36 +0000 (0:00:00.025) 0:00:58.771 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:35:36 +0000 (0:00:00.022) 0:00:58.793 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:35:42 +0000 (0:00:05.862) 0:01:04.656 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.022) 0:01:04.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.025) 0:01:04.703 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.061) 0:01:04.765 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.021) 0:01:04.787 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.022) 0:01:04.809 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.026) 0:01:04.836 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.022) 0:01:04.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:35:42 +0000 (0:00:00.022) 0:01:04.880 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.357) 0:01:05.238 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp83v7o9gm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.301) 0:01:05.540 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.298) 0:01:05.839 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.026) 0:01:05.865 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.031) 0:01:05.897 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.028) 0:01:05.925 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:35:43 +0000 (0:00:00.026) 0:01:05.951 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.241) 0:01:06.193 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.024) 0:01:06.217 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.038) 0:01:06.256 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.043) 0:01:06.299 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.038) 0:01:06.338 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.023) 0:01:06.361 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:35:44 +0000 (0:00:00.025) 0:01:06.387 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:35:45 +0000 (0:00:01.647) 0:01:08.034 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:35:47 +0000 (0:00:01.308) 0:01:09.342 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:35:47 +0000 (0:00:00.023) 0:01:09.366 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:35:47 +0000 (0:00:00.022) 0:01:09.388 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:35:47 +0000 (0:00:00.022) 0:01:09.410 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:35:53 +0000 (0:00:06.256) 0:01:15.667 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.022) 0:01:15.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.026) 0:01:15.716 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.045) 0:01:15.761 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.023) 0:01:15.785 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.026) 0:01:15.811 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.045) 0:01:15.857 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.022) 0:01:15.879 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:35:53 +0000 (0:00:00.022) 0:01:15.901 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:35:54 +0000 (0:00:00.350) 0:01:16.252 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpgqsgd96u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:35:54 +0000 (0:00:00.303) 0:01:16.556 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:35:54 +0000 (0:00:00.569) 0:01:17.125 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:35:54 +0000 (0:00:00.022) 0:01:17.148 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:35:54 +0000 (0:00:00.022) 0:01:17.170 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.032) 0:01:17.202 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.025) 0:01:17.228 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.197) 0:01:17.425 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.069) 0:01:17.495 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.043) 0:01:17.538 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.048) 0:01:17.587 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.028) 0:01:17.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.021) 0:01:17.637 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:35:55 +0000 (0:00:00.022) 0:01:17.659 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:35:57 +0000 (0:00:01.621) 0:01:19.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:35:58 +0000 (0:00:01.330) 0:01:20.611 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:35:58 +0000 (0:00:00.023) 0:01:20.635 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:35:58 +0000 (0:00:00.021) 0:01:20.657 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:35:58 +0000 (0:00:00.021) 0:01:20.678 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:36:04 +0000 (0:00:06.269) 0:01:26.948 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.022) 0:01:26.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.025) 0:01:26.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.042) 0:01:27.039 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.022) 0:01:27.061 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.040) 0:01:27.102 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.025) 0:01:27.127 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.022) 0:01:27.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:36:04 +0000 (0:00:00.021) 0:01:27.171 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:36:05 +0000 (0:00:00.350) 0:01:27.521 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmph5qprrki" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:36:05 +0000 (0:00:00.303) 0:01:27.825 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:36:05 +0000 (0:00:00.309) 0:01:28.134 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:36:05 +0000 (0:00:00.023) 0:01:28.158 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:36:05 +0000 (0:00:00.023) 0:01:28.181 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.023) 0:01:28.204 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.024) 0:01:28.228 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.196) 0:01:28.425 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.067) 0:01:28.493 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.037) 0:01:28.531 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708572954.8115532, "block_size": 4096, "blocks": 0, "ctime": 1708572954.8115532, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32861, "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": 1708572954.8115532, "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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.202) 0:01:28.733 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.025) 0:01:28.759 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.039) 0:01:28.798 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.024) 0:01:28.822 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.201) 0:01:29.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:36:06 +0000 (0:00:00.021) 0:01:29.046 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020421", "end": "2024-02-22 03:36:07.046313", "rc": 1, "start": "2024-02-22 03:36:07.025892" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.220) 0:01:29.266 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.023) 0:01:29.290 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.022) 0:01:29.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.023) 0:01:29.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.048) 0:01:29.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.024) 0:01:29.408 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.025) 0:01:29.433 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.021) 0:01:29.455 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.027) 0:01:29.483 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.043) 0:01:29.526 ***** 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.048346", "end": "2024-02-22 03:36:07.555338", "rc": 0, "start": "2024-02-22 03:36:07.506992" } 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:103 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.252) 0:01:29.779 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.038) 0:01:29.818 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.024) 0:01:29.843 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.047) 0:01:29.890 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.035) 0:01:29.926 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:36:07 +0000 (0:00:00.059) 0:01:29.986 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003366", "end": "2024-02-22 03:36:07.969922", "rc": 0, "start": "2024-02-22 03:36:07.966556" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.206) 0:01:30.192 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.024) 0:01:30.217 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.023) 0:01:30.241 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.045) 0:01:30.286 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.037) 0:01:30.324 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.041) 0:01:30.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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.026) 0:01:30.392 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.022) 0:01:30.414 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:36:08 +0000 (0:00:00.021) 0:01:30.435 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:36:09 +0000 (0:00:01.620) 0:01:32.056 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:36:11 +0000 (0:00:01.310) 0:01:33.367 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:36:11 +0000 (0:00:00.023) 0:01:33.390 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:36:11 +0000 (0:00:00.022) 0:01:33.413 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:36:11 +0000 (0:00:00.021) 0:01:33.434 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:36:18 +0000 (0:00:07.014) 0:01:40.449 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.022) 0:01:40.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.026) 0:01:40.498 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.044) 0:01:40.542 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.039) 0:01:40.582 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.021) 0:01:40.604 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.025) 0:01:40.629 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.022) 0:01:40.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.021) 0:01:40.673 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:36:18 +0000 (0:00:00.356) 0:01:41.029 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpe9h19vxm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.303) 0:01:41.333 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.297) 0:01:41.631 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.021) 0:01:41.652 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.023) 0:01:41.675 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.023) 0:01:41.699 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.021) 0:01:41.720 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.194) 0:01:41.914 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.048) 0:01:41.963 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.041) 0:01:42.004 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.042) 0:01:42.046 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.027) 0:01:42.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.022) 0:01:42.096 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:36:19 +0000 (0:00:00.022) 0:01:42.118 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:36:21 +0000 (0:00:01.616) 0:01:43.735 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:36:22 +0000 (0:00:01.328) 0:01:45.064 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:36:22 +0000 (0:00:00.024) 0:01:45.088 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:36:22 +0000 (0:00:00.023) 0:01:45.111 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:36:22 +0000 (0:00:00.023) 0:01:45.134 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:36:28 +0000 (0:00:05.965) 0:01:51.100 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:36:28 +0000 (0:00:00.022) 0:01:51.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:36:28 +0000 (0:00:00.024) 0:01:51.147 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:36:28 +0000 (0:00:00.043) 0:01:51.191 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.022) 0:01:51.214 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.021) 0:01:51.235 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.044) 0:01:51.280 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.024) 0:01:51.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.022) 0:01:51.326 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.355) 0:01:51.681 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp66ue6pix" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:36:29 +0000 (0:00:00.299) 0:01:51.981 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.568) 0:01:52.550 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.023) 0:01:52.573 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.023) 0:01:52.597 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.024) 0:01:52.621 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.027) 0:01:52.648 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.196) 0:01:52.845 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.066) 0:01:52.911 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.042) 0:01:52.954 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.028) 0:01:52.983 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.021) 0:01:53.005 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:36:30 +0000 (0:00:00.022) 0:01:53.027 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:36:32 +0000 (0:00:01.613) 0:01:54.641 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:36:33 +0000 (0:00:01.329) 0:01:55.970 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:36:33 +0000 (0:00:00.023) 0:01:55.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:36:33 +0000 (0:00:00.021) 0:01:56.015 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:36:33 +0000 (0:00:00.023) 0:01:56.039 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:36:40 +0000 (0:00:06.476) 0:02:02.515 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.022) 0:02:02.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.025) 0:02:02.563 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.045) 0:02:02.608 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.043) 0:02:02.651 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.022) 0:02:02.674 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.026) 0:02:02.700 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.023) 0:02:02.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.022) 0:02:02.746 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:36:40 +0000 (0:00:00.351) 0:02:03.098 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmplpwhuhzd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.297) 0:02:03.396 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.304) 0:02:03.700 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.023) 0:02:03.724 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.024) 0:02:03.748 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.023) 0:02:03.771 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.022) 0:02:03.793 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.199) 0:02:03.993 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.079) 0:02:04.072 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.042) 0:02:04.114 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.041) 0:02:04.156 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:36:41 +0000 (0:00:00.027) 0:02:04.183 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:36:42 +0000 (0:00:00.022) 0:02:04.206 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:36:42 +0000 (0:00:00.021) 0:02:04.227 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:36:43 +0000 (0:00:01.650) 0:02:05.878 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:36:44 +0000 (0:00:01.313) 0:02:07.191 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:36:45 +0000 (0:00:00.022) 0:02:07.214 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:36:45 +0000 (0:00:00.021) 0:02:07.235 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:36:45 +0000 (0:00:00.022) 0:02:07.257 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:36:50 +0000 (0:00:05.603) 0:02:12.861 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.022) 0:02:12.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.025) 0:02:12.908 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.042) 0:02:12.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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.022) 0:02:12.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.022) 0:02:12.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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.063) 0:02:13.060 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.022) 0:02:13.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:36:50 +0000 (0:00:00.022) 0:02:13.105 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.353) 0:02:13.458 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmp50p3cvcq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.299) 0:02:13.758 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.298) 0:02:14.056 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.022) 0:02:14.078 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.022) 0:02:14.101 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.023) 0:02:14.124 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:36:51 +0000 (0:00:00.021) 0:02:14.146 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.195) 0:02:14.341 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.064) 0:02:14.406 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.039) 0:02:14.445 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.024) 0:02:14.470 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.198) 0:02:14.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.022) 0:02:14.690 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020184", "end": "2024-02-22 03:36:52.692131", "rc": 1, "start": "2024-02-22 03:36:52.671947" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.222) 0:02:14.912 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.023) 0:02:14.936 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.022) 0:02:14.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.023) 0:02:14.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.023) 0:02:15.006 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.023) 0:02:15.029 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.025) 0:02:15.055 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.027) 0:02:15.082 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.023) 0:02:15.106 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:36:52 +0000 (0:00:00.071) 0:02:15.178 ***** 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.045708", "end": "2024-02-22 03:36:53.203304", "rc": 0, "start": "2024-02-22 03:36:53.157596" } 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_hotfix_jagk25i/tests/playbooks/tests_states.yml:126 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.248) 0:02:15.426 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.039) 0:02:15.466 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.024) 0:02:15.490 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.048) 0:02:15.538 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.036) 0:02:15.575 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.035) 0:02:15.611 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2024-02-22 03:36:53.592778", "rc": 0, "start": "2024-02-22 03:36:53.589344" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.214) 0:02:15.825 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.025) 0:02:15.850 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.023) 0:02:15.874 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.076) 0:02:15.950 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.038) 0:02:15.989 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.041) 0:02:16.030 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.027) 0:02:16.058 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.022) 0:02:16.080 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:36:53 +0000 (0:00:00.022) 0:02:16.102 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:36:55 +0000 (0:00:01.622) 0:02:17.725 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:36:56 +0000 (0:00:01.329) 0:02:19.054 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:36:56 +0000 (0:00:00.023) 0:02:19.078 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:36:56 +0000 (0:00:00.022) 0:02:19.100 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:36:56 +0000 (0:00:00.024) 0:02:19.125 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:37:03 +0000 (0:00:06.524) 0:02:25.649 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.022) 0:02:25.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.024) 0:02:25.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.045) 0:02:25.742 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.022) 0:02:25.765 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.021) 0:02:25.787 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.046) 0:02:25.833 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.023) 0:02:25.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:37:03 +0000 (0:00:00.021) 0:02:25.878 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.353) 0:02:26.231 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpga4gdufe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.304) 0:02:26.536 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.296) 0:02:26.832 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.021) 0:02:26.854 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.023) 0:02:26.878 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.023) 0:02:26.901 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.021) 0:02:26.923 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.195) 0:02:27.119 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:37:04 +0000 (0:00:00.023) 0:02:27.142 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:37:05 +0000 (0:00:00.060) 0:02:27.203 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:37:05 +0000 (0:00:00.042) 0:02:27.245 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:37:05 +0000 (0:00:00.028) 0:02:27.274 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:37:05 +0000 (0:00:00.044) 0:02:27.318 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:37:05 +0000 (0:00:00.025) 0:02:27.344 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:37:06 +0000 (0:00:01.631) 0:02:28.976 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:37:08 +0000 (0:00:01.334) 0:02:30.311 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:37:08 +0000 (0:00:00.023) 0:02:30.334 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:37:08 +0000 (0:00:00.022) 0:02:30.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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:37:08 +0000 (0:00:00.023) 0:02:30.381 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:37:15 +0000 (0:00:07.759) 0:02:38.140 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:37:15 +0000 (0:00:00.022) 0:02:38.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:37:15 +0000 (0:00:00.024) 0:02:38.188 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.044) 0:02:38.232 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.022) 0:02:38.254 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.021) 0:02:38.276 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.045) 0:02:38.322 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.023) 0:02:38.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.021) 0:02:38.366 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.352) 0:02:38.719 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpxzd4t_5r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:37:16 +0000 (0:00:00.298) 0:02:39.017 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.562) 0:02:39.580 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.022) 0:02:39.602 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.023) 0:02:39.626 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.022) 0:02:39.648 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.021) 0:02:39.670 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.193) 0:02:39.864 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.064) 0:02:39.929 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.042) 0:02:39.971 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.027) 0:02:39.998 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.021) 0:02:40.020 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:37:17 +0000 (0:00:00.022) 0:02:40.043 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:37:19 +0000 (0:00:01.603) 0:02:41.646 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:37:20 +0000 (0:00:01.334) 0:02:42.981 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:37:20 +0000 (0:00:00.033) 0:02:43.015 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:37:20 +0000 (0:00:00.022) 0:02:43.038 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:37:20 +0000 (0:00:00.023) 0:02:43.062 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:37:27 +0000 (0:00:06.388) 0:02:49.451 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.021) 0:02:49.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.025) 0:02:49.498 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.043) 0:02:49.542 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.022) 0:02:49.564 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.042) 0:02:49.606 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.025) 0:02:49.631 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.022) 0:02:49.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.023) 0:02:49.677 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:37:27 +0000 (0:00:00.351) 0:02:50.028 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmpaknf8pnb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.300) 0:02:50.328 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.316) 0:02:50.645 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.022) 0:02:50.668 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.022) 0:02:50.691 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.023) 0:02:50.714 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.022) 0:02:50.737 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.198) 0:02:50.935 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.072) 0:02:51.008 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.039) 0:02:51.047 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.043) 0:02:51.091 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.029) 0:02:51.120 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.023) 0:02:51.143 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:37:28 +0000 (0:00:00.023) 0:02:51.167 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:37:30 +0000 (0:00:01.646) 0:02:52.813 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:37:31 +0000 (0:00:01.339) 0:02:54.153 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:37:31 +0000 (0:00:00.023) 0:02:54.177 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:37:32 +0000 (0:00:00.021) 0:02:54.199 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:37:32 +0000 (0:00:00.022) 0:02:54.221 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:37:38 +0000 (0:00:06.454) 0:03:00.676 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.022) 0:03:00.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.025) 0:03:00.724 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.044) 0:03:00.769 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.044) 0:03:00.814 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.024) 0:03:00.838 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.037) 0:03:00.876 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.025) 0:03:00.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:37:38 +0000 (0:00:00.022) 0:03:00.924 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.352) 0:03:01.277 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2240072r9ftff/tmprvx6a2e6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.298) 0:03:01.575 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.294) 0:03:01.870 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.023) 0:03:01.894 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.023) 0:03:01.917 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.022) 0:03:01.940 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.021) 0:03:01.962 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:37:39 +0000 (0:00:00.195) 0:03:02.157 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.070) 0:03:02.227 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.040) 0:03:02.268 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.023) 0:03:02.291 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.201) 0:03:02.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.021) 0:03:02.515 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020472", "end": "2024-02-22 03:37:40.512714", "rc": 1, "start": "2024-02-22 03:37:40.492242" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.217) 0:03:02.732 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.023) 0:03:02.756 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.023) 0:03:02.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.023) 0:03:02.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.023) 0:03:02.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.025) 0:03:02.852 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 22 February 2024 03:37:40 +0000 (0:00:00.024) 0:03:02.876 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.944273", "end": "2024-02-22 03:37:41.801205", "rc": 0, "start": "2024-02-22 03:37:40.856932" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 22 February 2024 03:37:41 +0000 (0:00:01.145) 0:03:04.022 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 22 February 2024 03:37:41 +0000 (0:00:00.024) 0:03:04.046 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:37:41 +0000 (0:00:00.024) 0:03:04.071 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:37:41 +0000 (0:00:00.029) 0:03:04.100 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:37:41 +0000 (0:00:00.023) 0:03:04.124 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:37:41 +0000 (0:00:00.045) 0:03:04.170 ***** 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.045671", "end": "2024-02-22 03:37:42.195363", "rc": 0, "start": "2024-02-22 03:37:42.149692" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 03:37:42 +0000 (0:00:00.248) 0:03:04.418 ***** 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.009566", "end": "2024-02-22 03:37:42.406117", "rc": 0, "start": "2024-02-22 03:37:42.396551" } 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 0a:ee:a9:b5:c5:1b brd ff:ff:ff:ff:ff:ff inet 10.31.14.220/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3513sec preferred_lft 3513sec inet6 fe80::8ee:a9ff:feb5:c51b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.220 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.220 metric 100 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_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 03:37:42 +0000 (0:00:00.208) 0:03:04.627 ***** 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.139277", "end": "2024-02-22 03:37:42.751202", "rc": 0, "start": "2024-02-22 03:37:42.611925" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.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 2620:52:3:1:dead:beef:cafe:fed6 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 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 5258 0 --:--:-- --:--:-- --:--:-- 5258 % 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 5705 0 --:--:-- --:--:-- --:--:-- 5705 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=351 changed=13 unreachable=0 failed=0 skipped=256 rescued=0 ignored=10 Thursday 22 February 2024 03:37:42 +0000 (0:00:00.332) 0:03:04.959 ***** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 32.22s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 26.14s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 18.45s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 12.75s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 6.38s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Configure networking connection profiles --- 2.28s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Enable network service --------------------- 1.92s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/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_hotfix_jagk25i/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_hotfix_jagk25i/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_hotfix_jagk25i/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_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---