# 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-route_typef0th468y/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typef0th468y/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.844) 0:00:00.857 ****** included: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:25:31 +0000 (0:00:00.036) 0:00:00.894 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.357) 0:00:01.251 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.290) 0:00:01.541 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.037) 0:00:01.579 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.020) 0:00:01.599 ****** included: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:25:32 +0000 (0:00:00.045) 0:00:01.644 ****** 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-route_typef0th468y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:25:33 +0000 (0:00:00.326) 0:00:01.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:25:33 +0000 (0:00:00.017) 0:00:01.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:25:33 +0000 (0:00:00.011) 0:00:01.999 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.249648", "end": "2024-01-11 02:25:34.489546", "rc": 0, "start": "2024-01-11 02:25:33.239898" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:25:34 +0000 (0:00:01.441) 0:00:03.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.009) 0:00:03.450 ****** 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-route_typef0th468y/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:25:34 +0000 (0:00:00.010) 0:00:03.461 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.571) 0:00:04.033 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.014) 0:00:04.048 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.017) 0:00:04.065 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.011) 0:00:04.076 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.035) 0:00:04.112 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.018) 0:00:04.130 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.014) 0:00:04.145 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2024-01-11 02:25:35.383525", "rc": 0, "start": "2024-01-11 02:25:35.380270" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.202) 0:00:04.347 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.022) 0:00:04.370 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.026) 0:00:04.397 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.041) 0:00:04.439 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007951", "end": "2024-01-11 02:25:35.716784", "rc": 1, "start": "2024-01-11 02:25:35.708833" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.234) 0:00:04.673 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:35 +0000 (0:00:00.070) 0:00:04.744 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.239) 0:00:04.983 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.028) 0:00:05.011 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.083) 0:00:05.095 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.095) 0:00:05.190 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.081) 0:00:05.272 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.027) 0:00:05.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.031) 0:00:05.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:36 +0000 (0:00:00.011) 0:00:05.343 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:38 +0000 (0:00:01.642) 0:00:06.985 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:39 +0000 (0:00:01.454) 0:00:08.440 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.023) 0:00:08.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.021) 0:00:08.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.021) 0:00:08.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.042) 0:00:08.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.022) 0:00:08.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.022) 0:00:08.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.028) 0:00:08.623 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.023) 0:00:08.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:39 +0000 (0:00:00.036) 0:00:08.683 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:40 +0000 (0:00:00.496) 0:00:09.180 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpam6k57ft" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:40 +0000 (0:00:00.335) 0:00:09.515 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.511) 0:00:10.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.037) 0:00:10.065 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.042) 0:00:10.107 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.045) 0:00:10.152 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.035) 0:00:10.188 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.266) 0:00:10.455 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.061) 0:00:10.516 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.048) 0:00:10.565 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.083) 0:00:10.649 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:41 +0000 (0:00:00.066) 0:00:10.715 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939941.0227768, "block_size": 4096, "blocks": 8, "ctime": 1704939941.0227768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216321, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939941.0227768, "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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.220) 0:00:10.935 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.028) 0:00:10.964 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021362", "end": "2024-01-11 02:25:42.225737", "rc": 1, "start": "2024-01-11 02:25:42.204375" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.246) 0:00:11.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.030) 0:00:11.241 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003059", "end": "2024-01-11 02:25:42.492011", "rc": 0, "start": "2024-01-11 02:25:42.488952" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.215) 0:00:11.456 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.028) 0:00:11.485 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002932", "end": "2024-01-11 02:25:42.725452", "rc": 0, "start": "2024-01-11 02:25:42.722520" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.212) 0:00:11.697 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.031) 0:00:11.729 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.026) 0:00:11.756 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.040) 0:00:11.797 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.030) 0:00:11.827 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.027) 0:00:11.854 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.024) 0:00:11.879 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:42 +0000 (0:00:00.050) 0:00:11.930 ****** 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.038933", "end": "2024-01-11 02:25:43.204575", "rc": 1, "start": "2024-01-11 02:25:43.165642" } 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-route_typef0th468y/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.236) 0:00:12.166 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.065) 0:00:12.232 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.025) 0:00:12.257 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.045) 0:00:12.303 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.037) 0:00:12.341 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.036) 0:00:12.377 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003057", "end": "2024-01-11 02:25:43.617515", "rc": 0, "start": "2024-01-11 02:25:43.614458" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.213) 0:00:12.591 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.037) 0:00:12.629 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.045) 0:00:12.674 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:25:43 +0000 (0:00:00.051) 0:00:12.725 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006088", "end": "2024-01-11 02:25:43.974583", "rc": 1, "start": "2024-01-11 02:25:43.968495" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.239) 0:00:12.965 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.062) 0:00:13.028 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.207) 0:00:13.235 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.030) 0:00:13.265 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.057) 0:00:13.323 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.065) 0:00:13.389 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.057) 0:00:13.446 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.033) 0:00:13.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.024) 0:00:13.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:44 +0000 (0:00:00.028) 0:00:13.533 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:46 +0000 (0:00:01.541) 0:00:15.075 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:47 +0000 (0:00:01.335) 0:00:16.410 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.045) 0:00:16.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.038) 0:00:16.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.026) 0:00:16.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.046) 0:00:16.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.029) 0:00:16.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.023) 0:00:16.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.025) 0:00:16.646 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.048) 0:00:16.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:47 +0000 (0:00:00.026) 0:00:16.720 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.351) 0:00:17.072 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpg6tadpyj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.331) 0:00:17.403 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.306) 0:00:17.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.024) 0:00:17.734 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.027) 0:00:17.762 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.029) 0:00:17.791 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:48 +0000 (0:00:00.022) 0:00:17.814 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.211) 0:00:18.026 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.024) 0:00:18.051 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.068) 0:00:18.120 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.037) 0:00:18.157 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.197) 0:00:18.355 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.026) 0:00:18.381 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.047) 0:00:18.428 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.027) 0:00:18.456 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939948.7437406, "block_size": 4096, "blocks": 8, "ctime": 1704939948.7437406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216321, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939948.7437406, "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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.238) 0:00:18.695 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:25:49 +0000 (0:00:00.039) 0:00:18.734 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020710", "end": "2024-01-11 02:25:50.012003", "rc": 1, "start": "2024-01-11 02:25:49.991293" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.251) 0:00:18.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.100) 0:00:19.087 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003294", "end": "2024-01-11 02:25:50.349917", "rc": 0, "start": "2024-01-11 02:25:50.346623" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.227) 0:00:19.314 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.041) 0:00:19.355 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003253", "end": "2024-01-11 02:25:50.645262", "rc": 0, "start": "2024-01-11 02:25:50.642009" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.307) 0:00:19.663 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.034) 0:00:19.697 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.026) 0:00:19.724 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.028) 0:00:19.753 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.044) 0:00:19.797 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.042) 0:00:19.840 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.038) 0:00:19.878 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:25:50 +0000 (0:00:00.053) 0:00:19.931 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039398", "end": "2024-01-11 02:25:51.209712", "rc": 1, "start": "2024-01-11 02:25:51.170314" } 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-route_typef0th468y/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.240) 0:00:20.172 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.040) 0:00:20.213 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.029) 0:00:20.242 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.053) 0:00:20.296 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.038) 0:00:20.334 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.074) 0:00:20.409 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2024-01-11 02:25:51.648366", "rc": 0, "start": "2024-01-11 02:25:51.645336" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.200) 0:00:20.610 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.024) 0:00:20.634 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.023) 0:00:20.657 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.039) 0:00:20.697 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.037) 0:00:20.735 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.040) 0:00:20.775 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.029) 0:00:20.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.023) 0:00:20.829 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:51 +0000 (0:00:00.027) 0:00:20.856 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:53 +0000 (0:00:01.553) 0:00:22.410 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:54 +0000 (0:00:01.388) 0:00:23.798 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.029) 0:00:23.827 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.034) 0:00:23.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.033) 0:00:23.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.083) 0:00:23.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.049) 0:00:24.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.031) 0:00:24.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.048) 0:00:24.108 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.036) 0:00:24.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.052) 0:00:24.197 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.389) 0:00:24.586 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmp9jhvwz5f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.309) 0:00:24.896 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.333) 0:00:25.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.055) 0:00:25.285 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.033) 0:00:25.319 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.035) 0:00:25.354 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.030) 0:00:25.384 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.209) 0:00:25.593 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.052) 0:00:25.646 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.110) 0:00:25.756 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.063) 0:00:25.820 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.049) 0:00:25.869 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.032) 0:00:25.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.025) 0:00:25.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.033) 0:00:25.962 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:25:58 +0000 (0:00:01.562) 0:00:27.525 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:25:59 +0000 (0:00:01.348) 0:00:28.873 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.077) 0:00:28.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.029) 0:00:28.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.079) 0:00:29.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.097) 0:00:29.157 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.046) 0:00:29.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.100) 0:00:29.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.035) 0:00:29.340 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.026) 0:00:29.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.025) 0:00:29.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:00 +0000 (0:00:00.395) 0:00:29.787 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmp4zc_nu9k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.299) 0:00:30.087 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.594) 0:00:30.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.030) 0:00:30.712 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.025) 0:00:30.737 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.025) 0:00:30.762 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.036) 0:00:30.799 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.263) 0:00:31.062 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.067) 0:00:31.130 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.105) 0:00:31.236 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939961.5930629, "block_size": 4096, "blocks": 0, "ctime": 1704939961.5930629, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32621, "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": 1704939961.5930629, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.228) 0:00:31.465 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.080) 0:00:31.545 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.059) 0:00:31.604 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.034) 0:00:31.638 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939961.4136813, "block_size": 4096, "blocks": 8, "ctime": 1704939956.2467055, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216321, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939956.2467055, "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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.232) 0:00:31.871 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.040) 0:00:31.911 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020976", "end": "2024-01-11 02:26:03.205900", "rc": 1, "start": "2024-01-11 02:26:03.184924" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.257) 0:00:32.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.025) 0:00:32.194 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003019", "end": "2024-01-11 02:26:03.436856", "rc": 0, "start": "2024-01-11 02:26:03.433837" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.212) 0:00:32.406 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.028) 0:00:32.434 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003002", "end": "2024-01-11 02:26:03.673379", "rc": 0, "start": "2024-01-11 02:26:03.670377" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.200) 0:00:32.635 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.028) 0:00:32.663 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.028) 0:00:32.692 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.026) 0:00:32.718 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.120) 0:00:32.838 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.032) 0:00:32.871 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.041) 0:00:32.913 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.062) 0:00:32.976 ****** 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.047612", "end": "2024-01-11 02:26:04.272477", "rc": 0, "start": "2024-01-11 02:26:04.224865" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.266) 0:00:33.242 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.045) 0:00:33.287 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.042) 0:00:33.330 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.081) 0:00:33.411 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.097) 0:00:33.508 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.131) 0:00:33.640 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003185", "end": "2024-01-11 02:26:04.925697", "rc": 0, "start": "2024-01-11 02:26:04.922512" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.272) 0:00:33.912 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.086) 0:00:33.999 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.045) 0:00:34.044 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.057) 0:00:34.101 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.061) 0:00:34.163 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.072) 0:00:34.236 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.041) 0:00:34.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.034) 0:00:34.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.027) 0:00:34.339 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:07 +0000 (0:00:01.595) 0:00:35.935 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:08 +0000 (0:00:01.317) 0:00:37.252 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.024) 0:00:37.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.024) 0:00:37.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.037) 0:00:37.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.053) 0:00:37.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.037) 0:00:37.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.041) 0:00:37.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.035) 0:00:37.506 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.022) 0:00:37.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.049) 0:00:37.579 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:08 +0000 (0:00:00.348) 0:00:37.928 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpw_ur8n3c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.315) 0:00:38.243 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.326) 0:00:38.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.034) 0:00:38.605 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.030) 0:00:38.636 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.033) 0:00:38.669 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.040) 0:00:38.709 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.213) 0:00:38.923 ****** 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-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.026) 0:00:38.949 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.088) 0:00:39.038 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.157) 0:00:39.196 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.030) 0:00:39.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.023) 0:00:39.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.022) 0:00:39.272 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:11 +0000 (0:00:01.544) 0:00:40.817 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:13 +0000 (0:00:01.338) 0:00:42.155 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.026) 0:00:42.182 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.024) 0:00:42.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.023) 0:00:42.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.062) 0:00:42.292 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.030) 0:00:42.323 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.026) 0:00:42.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.028) 0:00:42.378 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.049) 0:00:42.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.025) 0:00:42.453 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.370) 0:00:42.824 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmph08twchm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:14 +0000 (0:00:00.358) 0:00:43.182 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:14 +0000 (0:00:00.641) 0:00:43.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:14 +0000 (0:00:00.024) 0:00:43.848 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:14 +0000 (0:00:00.024) 0:00:43.873 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:14 +0000 (0:00:00.027) 0:00:43.900 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.033) 0:00:43.933 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.199) 0:00:44.133 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.044) 0:00:44.178 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.045) 0:00:44.224 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.054) 0:00:44.278 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.040) 0:00:44.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.027) 0:00:44.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:15 +0000 (0:00:00.026) 0:00:44.372 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:17 +0000 (0:00:01.577) 0:00:45.949 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:18 +0000 (0:00:01.316) 0:00:47.266 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.032) 0:00:47.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.036) 0:00:47.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.040) 0:00:47.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.073) 0:00:47.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.077) 0:00:47.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.035) 0:00:47.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.030) 0:00:47.593 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.026) 0:00:47.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.024) 0:00:47.644 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.347) 0:00:47.991 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpr6sydwj7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.381) 0:00:48.373 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.320) 0:00:48.693 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.033) 0:00:48.727 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.044) 0:00:48.771 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.025) 0:00:48.797 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:19 +0000 (0:00:00.031) 0:00:48.829 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.200) 0:00:49.029 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.076) 0:00:49.105 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.062) 0:00:49.168 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939974.7422602, "block_size": 4096, "blocks": 0, "ctime": 1704939974.7422602, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32752, "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": 1704939974.7422602, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.261) 0:00:49.429 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.025) 0:00:49.454 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.040) 0:00:49.495 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.025) 0:00:49.520 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.224) 0:00:49.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:20 +0000 (0:00:00.022) 0:00:49.767 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020557", "end": "2024-01-11 02:26:21.029237", "rc": 1, "start": "2024-01-11 02:26:21.008680" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.227) 0:00:49.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.049) 0:00:50.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.063) 0:00:50.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.033) 0:00:50.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.077) 0:00:50.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.036) 0:00:50.255 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.092) 0:00:50.348 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.047) 0:00:50.395 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.059) 0:00:50.455 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.082) 0:00:50.537 ****** 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.044459", "end": "2024-01-11 02:26:21.825477", "rc": 0, "start": "2024-01-11 02:26:21.781018" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.253) 0:00:50.790 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.041) 0:00:50.831 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.024) 0:00:50.856 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.072) 0:00:50.928 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.040) 0:00:50.969 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.037) 0:00:51.007 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-01-11 02:26:22.269785", "rc": 0, "start": "2024-01-11 02:26:22.266575" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.257) 0:00:51.264 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.029) 0:00:51.294 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.059) 0:00:51.353 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.082) 0:00:51.436 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.088) 0:00:51.525 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.054) 0:00:51.579 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.032) 0:00:51.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.043) 0:00:51.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.028) 0:00:51.683 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:24 +0000 (0:00:01.630) 0:00:53.314 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:25 +0000 (0:00:01.338) 0:00:54.653 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.061) 0:00:54.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.047) 0:00:54.762 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.033) 0:00:54.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.047) 0:00:54.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.022) 0:00:54.866 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.021) 0:00:54.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.026) 0:00:54.914 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:26 +0000 (0:00:00.025) 0:00:54.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:26 +0000 (0:00:00.026) 0:00:54.965 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:26 +0000 (0:00:00.351) 0:00:55.316 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmp_ttrtdfe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:26 +0000 (0:00:00.335) 0:00:55.652 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.292) 0:00:55.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.023) 0:00:55.968 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.057) 0:00:56.025 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.029) 0:00:56.054 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.039) 0:00:56.094 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.194) 0:00:56.288 ****** 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-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.025) 0:00:56.314 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.037) 0:00:56.351 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.097) 0:00:56.449 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.029) 0:00:56.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.023) 0:00:56.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:27 +0000 (0:00:00.022) 0:00:56.525 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:29 +0000 (0:00:01.530) 0:00:58.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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:30 +0000 (0:00:01.351) 0:00:59.407 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.031) 0:00:59.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.028) 0:00:59.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.052) 0:00:59.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.057) 0:00:59.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.023) 0:00:59.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.022) 0:00:59.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.026) 0:00:59.650 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.024) 0:00:59.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.033) 0:00:59.708 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:31 +0000 (0:00:00.374) 0:01:00.082 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmptn2ada7h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:31 +0000 (0:00:00.341) 0:01:00.424 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.570) 0:01:00.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.022) 0:01:01.017 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.055) 0:01:01.072 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.026) 0:01:01.099 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.027) 0:01:01.126 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.201) 0:01:01.327 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.037) 0:01:01.364 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.044) 0:01:01.409 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.031) 0:01:01.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.047) 0:01:01.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:32 +0000 (0:00:00.022) 0:01:01.510 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:34 +0000 (0:00:01.552) 0:01:03.062 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:35 +0000 (0:00:01.316) 0:01:04.378 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.028) 0:01:04.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.026) 0:01:04.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.024) 0:01:04.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.055) 0:01:04.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.039) 0:01:04.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.029) 0:01:04.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.031) 0:01:04.616 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.041) 0:01:04.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.028) 0:01:04.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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.386) 0:01:05.072 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmp74woit4o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.363) 0:01:05.436 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.320) 0:01:05.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.030) 0:01:05.788 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.040) 0:01:05.828 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.053) 0:01:05.882 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:36 +0000 (0:00:00.045) 0:01:05.928 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.206) 0:01:06.134 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.045) 0:01:06.180 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.045) 0:01:06.225 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.141) 0:01:06.366 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.070) 0:01:06.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.039) 0:01:06.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:37 +0000 (0:00:00.024) 0:01:06.501 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:39 +0000 (0:00:01.557) 0:01:08.059 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:40 +0000 (0:00:01.374) 0:01:09.433 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.051) 0:01:09.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.050) 0:01:09.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.050) 0:01:09.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.072) 0:01:09.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.035) 0:01:09.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.065) 0:01:09.760 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.065) 0:01:09.826 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.027) 0:01:09.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.024) 0:01:09.877 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.389) 0:01:10.267 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmplu2pnn9i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.540) 0:01:10.807 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.389) 0:01:11.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.070) 0:01:11.268 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.158) 0:01:11.427 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.035) 0:01:11.462 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.027) 0:01:11.490 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.224) 0:01:11.714 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.072) 0:01:11.787 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.048) 0:01:11.836 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.059) 0:01:11.895 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.204) 0:01:12.100 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.023) 0:01:12.123 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020452", "end": "2024-01-11 02:26:43.376862", "rc": 1, "start": "2024-01-11 02:26:43.356410" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.214) 0:01:12.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.026) 0:01:12.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.026) 0:01:12.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.044) 0:01:12.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.053) 0:01:12.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.025) 0:01:12.515 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.028) 0:01:12.544 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.029) 0:01:12.573 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.025) 0:01:12.599 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.043) 0:01:12.643 ****** 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.047479", "end": "2024-01-11 02:26:43.925268", "rc": 0, "start": "2024-01-11 02:26:43.877789" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:26:43 +0000 (0:00:00.244) 0:01:12.888 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.046) 0:01:12.935 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.025) 0:01:12.960 ****** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.055) 0:01:13.016 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.060) 0:01:13.077 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.060) 0:01:13.137 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2024-01-11 02:26:44.444149", "rc": 0, "start": "2024-01-11 02:26:44.441036" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.281) 0:01:13.419 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.026) 0:01:13.445 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.026) 0:01:13.472 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.063) 0:01:13.535 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.042) 0:01:13.578 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.043) 0:01:13.622 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.030) 0:01:13.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.023) 0:01:13.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:44 +0000 (0:00:00.024) 0:01:13.699 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:46 +0000 (0:00:01.600) 0:01:15.300 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:47 +0000 (0:00:01.444) 0:01:16.744 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.034) 0:01:16.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.037) 0:01:16.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.032) 0:01:16.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.060) 0:01:16.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.036) 0:01:16.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.035) 0:01:16.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.037) 0:01:17.019 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.033) 0:01:17.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.055) 0:01:17.108 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.405) 0:01:17.513 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpov0ktn4s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:48 +0000 (0:00:00.371) 0:01:17.885 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.304) 0:01:18.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.034) 0:01:18.225 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.043) 0:01:18.269 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.043) 0:01:18.312 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.037) 0:01:18.349 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.227) 0:01:18.577 ****** 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-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.044) 0:01:18.622 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.048) 0:01:18.670 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.076) 0:01:18.747 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.032) 0:01:18.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.030) 0:01:18.810 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:49 +0000 (0:00:00.048) 0:01:18.858 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:51 +0000 (0:00:01.540) 0:01:20.399 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:52 +0000 (0:00:01.297) 0:01:21.696 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:52 +0000 (0:00:00.062) 0:01:21.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:52 +0000 (0:00:00.032) 0:01:21.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:52 +0000 (0:00:00.030) 0:01:21.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:52 +0000 (0:00:00.055) 0:01:21.878 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:52 +0000 (0:00:00.026) 0:01:21.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.039) 0:01:21.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.030) 0:01:21.975 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.024) 0:01:21.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.030) 0:01:22.030 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.392) 0:01:22.422 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpujer5d17" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:53 +0000 (0:00:00.337) 0:01:22.760 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.561) 0:01:23.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.075) 0:01:23.396 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.026) 0:01:23.422 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.035) 0:01:23.458 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.026) 0:01:23.484 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.217) 0:01:23.702 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.042) 0:01:23.744 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.070) 0:01:23.815 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.044) 0:01:23.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.047) 0:01:23.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.029) 0:01:23.937 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:56 +0000 (0:00:01.751) 0:01:25.689 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:58 +0000 (0:00:01.389) 0:01:27.078 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.047) 0:01:27.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.028) 0:01:27.154 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.025) 0:01:27.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.055) 0:01:27.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.053) 0:01:27.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.033) 0:01:27.323 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.031) 0:01:27.355 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.093) 0:01:27.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.039) 0:01:27.488 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:58 +0000 (0:00:00.422) 0:01:27.911 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmpt3ituxpb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.362) 0:01:28.273 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.343) 0:01:28.616 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.040) 0:01:28.657 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.053) 0:01:28.711 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.032) 0:01:28.743 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.034) 0:01:28.778 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.216) 0:01:28.994 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.105) 0:01:29.100 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.105) 0:01:29.205 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.155) 0:01:29.360 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.033) 0:01:29.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.082) 0:01:29.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.024) 0:01:29.500 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:27:02 +0000 (0:00:01.549) 0:01:31.049 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:27:03 +0000 (0:00:01.336) 0:01:32.386 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.026) 0:01:32.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.025) 0:01:32.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.023) 0:01:32.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.046) 0:01:32.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.022) 0:01:32.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.023) 0:01:32.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.027) 0:01:32.581 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.025) 0:01:32.607 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.024) 0:01:32.632 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.354) 0:01:32.986 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18477pwkeaa63/tmp5mkh92cu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.302) 0:01:33.289 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.362) 0:01:33.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.022) 0:01:33.674 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.024) 0:01:33.699 ****** 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-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.026) 0:01:33.725 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:04 +0000 (0:00:00.024) 0:01:33.750 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.222) 0:01:33.972 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.076) 0:01:34.048 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.041) 0:01:34.089 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.024) 0:01:34.114 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.197) 0:01:34.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.037) 0:01:34.349 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020923", "end": "2024-01-11 02:27:05.607237", "rc": 1, "start": "2024-01-11 02:27:05.586314" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.237) 0:01:34.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.046) 0:01:34.633 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.064) 0:01:34.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.025) 0:01:34.723 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.023) 0:01:34.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.024) 0:01:34.771 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:27:05 +0000 (0:00:00.031) 0:01:34.803 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.940346", "end": "2024-01-11 02:27:06.980731", "rc": 0, "start": "2024-01-11 02:27:06.040385" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:27:07 +0000 (0:00:01.147) 0:01:35.950 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.032) 0:01:35.983 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.040) 0:01:36.024 ****** 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-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.038) 0:01:36.062 ****** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.064) 0:01:36.127 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.100) 0:01:36.228 ****** 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.050802", "end": "2024-01-11 02:27:07.529247", "rc": 0, "start": "2024-01-11 02:27:07.478445" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.265) 0:01:36.493 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.37s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.99s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.77s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.67s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 1.53s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typef0th468y/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. ---^---^---^---^---^---