# 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_typefycom2fs/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/tests_states_initscripts.yml:5 Monday 08 January 2024 14:28:38 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/tests_states_initscripts.yml:8 Monday 08 January 2024 14:28:39 +0000 (0:00:00.719) 0:00:00.731 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:28:39 +0000 (0:00:00.022) 0:00:00.753 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:28:39 +0000 (0:00:00.350) 0:00:01.103 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:28:40 +0000 (0:00:00.283) 0:00:01.387 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:28:40 +0000 (0:00:00.021) 0:00:01.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:28:40 +0000 (0:00:00.017) 0:00:01.425 ******** included: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:28:40 +0000 (0:00:00.032) 0:00:01.458 ******** 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_typefycom2fs/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:28:40 +0000 (0:00:00.260) 0:00:01.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:28:40 +0000 (0:00:00.010) 0:00:01.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:28:40 +0000 (0:00:00.010) 0:00:01.740 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.259817", "end": "2024-01-08 14:28:41.984468", "rc": 0, "start": "2024-01-08 14:28:40.724651" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:28:42 +0000 (0:00:01.450) 0:00:03.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tests_states_initscripts.yml:10 Monday 08 January 2024 14:28:42 +0000 (0:00:00.009) 0:00:03.200 ******** 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_typefycom2fs/tests/playbooks/tests_states.yml:3 Monday 08 January 2024 14:28:42 +0000 (0:00:00.011) 0:00:03.211 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_states.yml:11 Monday 08 January 2024 14:28:42 +0000 (0:00:00.620) 0:00:03.831 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_states.yml:22 Monday 08 January 2024 14:28:42 +0000 (0:00:00.010) 0:00:03.842 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:28:42 +0000 (0:00:00.016) 0:00:03.858 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:28:42 +0000 (0:00:00.011) 0:00:03.870 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:28:42 +0000 (0:00:00.035) 0:00:03.905 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:28:42 +0000 (0:00:00.014) 0:00:03.920 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:28:42 +0000 (0:00:00.014) 0:00:03.934 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-01-08 14:28:42.923397", "rc": 0, "start": "2024-01-08 14:28:42.919737" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:28:42 +0000 (0:00:00.221) 0:00:04.156 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:28:42 +0000 (0:00:00.019) 0:00:04.175 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:28:43 +0000 (0:00:00.015) 0:00:04.190 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:28:43 +0000 (0:00:00.031) 0:00:04.222 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008724", "end": "2024-01-08 14:28:43.214884", "rc": 1, "start": "2024-01-08 14:28:43.206160" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:28:43 +0000 (0:00:00.199) 0:00:04.421 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:28:43 +0000 (0:00:00.015) 0:00:04.436 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:28:43 +0000 (0:00:00.187) 0:00:04.624 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:28:43 +0000 (0:00:00.013) 0:00:04.638 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:28:43 +0000 (0:00:00.018) 0:00:04.657 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:28:43 +0000 (0:00:00.040) 0:00:04.697 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:28:43 +0000 (0:00:00.077) 0:00:04.774 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:28:43 +0000 (0:00:00.012) 0:00:04.787 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:28:43 +0000 (0:00:00.010) 0:00:04.797 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:28:43 +0000 (0:00:00.009) 0:00:04.807 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:28:45 +0000 (0:00:01.671) 0:00:06.479 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:28:46 +0000 (0:00:01.459) 0:00:07.939 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:28:46 +0000 (0:00:00.023) 0:00:07.962 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:28:46 +0000 (0:00:00.026) 0:00:07.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:28:46 +0000 (0:00:00.022) 0:00:08.011 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:28:46 +0000 (0:00:00.044) 0:00:08.055 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:28:46 +0000 (0:00:00.022) 0:00:08.077 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:28:46 +0000 (0:00:00.023) 0:00:08.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:28:46 +0000 (0:00:00.025) 0:00:08.127 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:28:46 +0000 (0:00:00.021) 0:00:08.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:28:46 +0000 (0:00:00.021) 0:00:08.171 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:28:47 +0000 (0:00:00.484) 0:00:08.655 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpia266urb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:28:47 +0000 (0:00:00.309) 0:00:08.964 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:28:48 +0000 (0:00:00.432) 0:00:09.397 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:28:48 +0000 (0:00:00.025) 0:00:09.422 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:28:48 +0000 (0:00:00.027) 0:00:09.449 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:28:48 +0000 (0:00:00.029) 0:00:09.479 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:28:48 +0000 (0:00:00.022) 0:00:09.501 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:28:48 +0000 (0:00:00.255) 0:00:09.757 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:28:48 +0000 (0:00:00.025) 0:00:09.782 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:28:48 +0000 (0:00:00.066) 0:00:09.849 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:28:48 +0000 (0:00:00.084) 0:00:09.933 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:28:48 +0000 (0:00:00.029) 0:00:09.963 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724128.174884, "block_size": 4096, "blocks": 8, "ctime": 1704724128.174884, "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": 1704724128.174884, "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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:28:48 +0000 (0:00:00.209) 0:00:10.172 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:28:49 +0000 (0:00:00.049) 0:00:10.222 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022021", "end": "2024-01-08 14:28:49.229646", "rc": 1, "start": "2024-01-08 14:28:49.207625" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:28:49 +0000 (0:00:00.235) 0:00:10.457 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:28:49 +0000 (0:00:00.026) 0:00:10.483 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003409", "end": "2024-01-08 14:28:49.480846", "rc": 0, "start": "2024-01-08 14:28:49.477437" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:28:49 +0000 (0:00:00.215) 0:00:10.699 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:28:49 +0000 (0:00:00.027) 0:00:10.726 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003252", "end": "2024-01-08 14:28:49.717171", "rc": 0, "start": "2024-01-08 14:28:49.713919" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:28:49 +0000 (0:00:00.209) 0:00:10.935 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:28:49 +0000 (0:00:00.028) 0:00:10.964 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:28:49 +0000 (0:00:00.025) 0:00:10.990 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:28:49 +0000 (0:00:00.023) 0:00:11.013 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:28:49 +0000 (0:00:00.023) 0:00:11.037 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:28:49 +0000 (0:00:00.024) 0:00:11.062 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:28:49 +0000 (0:00:00.022) 0:00:11.084 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:28:49 +0000 (0:00:00.041) 0:00:11.126 ******** 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.042879", "end": "2024-01-08 14:28:50.153455", "rc": 1, "start": "2024-01-08 14:28:50.110576" } 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_typefycom2fs/tests/playbooks/tests_states.yml:45 Monday 08 January 2024 14:28:50 +0000 (0:00:00.266) 0:00:11.393 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:28:50 +0000 (0:00:00.038) 0:00:11.432 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:28:50 +0000 (0:00:00.023) 0:00:11.455 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:28:50 +0000 (0:00:00.046) 0:00:11.502 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:28:50 +0000 (0:00:00.035) 0:00:11.537 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:28:50 +0000 (0:00:00.034) 0:00:11.572 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2024-01-08 14:28:50.563098", "rc": 0, "start": "2024-01-08 14:28:50.559551" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:28:50 +0000 (0:00:00.207) 0:00:11.780 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:28:50 +0000 (0:00:00.022) 0:00:11.803 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:28:50 +0000 (0:00:00.023) 0:00:11.826 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:28:50 +0000 (0:00:00.043) 0:00:11.870 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007283", "end": "2024-01-08 14:28:50.862747", "rc": 1, "start": "2024-01-08 14:28:50.855464" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:28:50 +0000 (0:00:00.235) 0:00:12.105 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:28:50 +0000 (0:00:00.036) 0:00:12.142 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:28:51 +0000 (0:00:00.201) 0:00:12.343 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:28:51 +0000 (0:00:00.026) 0:00:12.370 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 08 January 2024 14:28:51 +0000 (0:00:00.040) 0:00:12.410 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:28:51 +0000 (0:00:00.042) 0:00:12.453 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:28:51 +0000 (0:00:00.042) 0:00:12.495 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:28:51 +0000 (0:00:00.027) 0:00:12.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:28:51 +0000 (0:00:00.022) 0:00:12.545 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:28:51 +0000 (0:00:00.022) 0:00:12.567 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:28:52 +0000 (0:00:01.605) 0:00:14.172 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:28:54 +0000 (0:00:01.312) 0:00:15.485 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:28:54 +0000 (0:00:00.023) 0:00:15.509 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:28:54 +0000 (0:00:00.022) 0:00:15.532 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:28:54 +0000 (0:00:00.060) 0:00:15.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:28:54 +0000 (0:00:00.068) 0:00:15.661 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:28:54 +0000 (0:00:00.028) 0:00:15.689 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:28:54 +0000 (0:00:00.026) 0:00:15.716 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:28:54 +0000 (0:00:00.026) 0:00:15.743 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:28:54 +0000 (0:00:00.043) 0:00:15.786 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:28:54 +0000 (0:00:00.022) 0:00:15.809 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:28:54 +0000 (0:00:00.352) 0:00:16.161 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmp2ywjpu_d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:28:55 +0000 (0:00:00.309) 0:00:16.471 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:28:55 +0000 (0:00:00.310) 0:00:16.781 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:28:55 +0000 (0:00:00.040) 0:00:16.822 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:28:55 +0000 (0:00:00.026) 0:00:16.848 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:28:55 +0000 (0:00:00.027) 0:00:16.875 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:28:55 +0000 (0:00:00.046) 0:00:16.922 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 08 January 2024 14:28:55 +0000 (0:00:00.207) 0:00:17.130 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:28:55 +0000 (0:00:00.025) 0:00:17.156 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:28:56 +0000 (0:00:00.044) 0:00:17.200 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:28:56 +0000 (0:00:00.036) 0:00:17.237 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:28:56 +0000 (0:00:00.201) 0:00:17.438 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:28:56 +0000 (0:00:00.025) 0:00:17.463 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:28:56 +0000 (0:00:00.040) 0:00:17.504 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:28:56 +0000 (0:00:00.023) 0:00:17.527 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724135.5525634, "block_size": 4096, "blocks": 8, "ctime": 1704724135.5525634, "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": 1704724135.5525634, "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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:28:56 +0000 (0:00:00.199) 0:00:17.727 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:28:56 +0000 (0:00:00.024) 0:00:17.751 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021093", "end": "2024-01-08 14:28:56.756984", "rc": 1, "start": "2024-01-08 14:28:56.735891" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:28:56 +0000 (0:00:00.237) 0:00:17.989 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:28:56 +0000 (0:00:00.026) 0:00:18.015 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003383", "end": "2024-01-08 14:28:57.010214", "rc": 0, "start": "2024-01-08 14:28:57.006831" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:28:57 +0000 (0:00:00.213) 0:00:18.228 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:28:57 +0000 (0:00:00.029) 0:00:18.258 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003229", "end": "2024-01-08 14:28:57.248556", "rc": 0, "start": "2024-01-08 14:28:57.245327" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:28:57 +0000 (0:00:00.223) 0:00:18.481 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:28:57 +0000 (0:00:00.029) 0:00:18.511 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:28:57 +0000 (0:00:00.025) 0:00:18.536 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:28:57 +0000 (0:00:00.024) 0:00:18.560 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:28:57 +0000 (0:00:00.023) 0:00:18.584 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:28:57 +0000 (0:00:00.019) 0:00:18.604 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:28:57 +0000 (0:00:00.021) 0:00:18.626 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:28:57 +0000 (0:00:00.041) 0:00:18.667 ******** 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.041552", "end": "2024-01-08 14:28:57.697200", "rc": 1, "start": "2024-01-08 14:28:57.655648" } 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_typefycom2fs/tests/playbooks/tests_states.yml:65 Monday 08 January 2024 14:28:57 +0000 (0:00:00.246) 0:00:18.913 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:28:57 +0000 (0:00:00.061) 0:00:18.975 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:28:57 +0000 (0:00:00.022) 0:00:18.998 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:28:57 +0000 (0:00:00.046) 0:00:19.044 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:28:57 +0000 (0:00:00.036) 0:00:19.081 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:28:57 +0000 (0:00:00.035) 0:00:19.116 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003469", "end": "2024-01-08 14:28:58.105519", "rc": 0, "start": "2024-01-08 14:28:58.102050" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:28:58 +0000 (0:00:00.206) 0:00:19.323 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:28:58 +0000 (0:00:00.023) 0:00:19.346 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:28:58 +0000 (0:00:00.021) 0:00:19.367 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:28:58 +0000 (0:00:00.038) 0:00:19.406 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:28:58 +0000 (0:00:00.036) 0:00:19.443 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:28:58 +0000 (0:00:00.061) 0:00:19.505 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:28:58 +0000 (0:00:00.027) 0:00:19.532 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:28:58 +0000 (0:00:00.021) 0:00:19.553 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:28:58 +0000 (0:00:00.020) 0:00:19.574 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:28:59 +0000 (0:00:01.603) 0:00:21.178 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:01 +0000 (0:00:01.313) 0:00:22.491 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:01 +0000 (0:00:00.023) 0:00:22.515 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:01 +0000 (0:00:00.022) 0:00:22.538 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:01 +0000 (0:00:00.021) 0:00:22.560 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:01 +0000 (0:00:00.042) 0:00:22.602 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:01 +0000 (0:00:00.022) 0:00:22.625 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:01 +0000 (0:00:00.021) 0:00:22.646 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:01 +0000 (0:00:00.026) 0:00:22.673 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:01 +0000 (0:00:00.022) 0:00:22.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:01 +0000 (0:00:00.023) 0:00:22.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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:01 +0000 (0:00:00.356) 0:00:23.076 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpstmt2g5_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:02 +0000 (0:00:00.314) 0:00:23.390 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:02 +0000 (0:00:00.299) 0:00:23.690 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:02 +0000 (0:00:00.023) 0:00:23.714 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:02 +0000 (0:00:00.024) 0:00:23.739 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:02 +0000 (0:00:00.024) 0:00:23.764 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:02 +0000 (0:00:00.022) 0:00:23.786 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:29:02 +0000 (0:00:00.195) 0:00:23.981 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:29:02 +0000 (0:00:00.023) 0:00:24.005 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:29:02 +0000 (0:00:00.039) 0:00:24.044 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:02 +0000 (0:00:00.041) 0:00:24.085 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:02 +0000 (0:00:00.040) 0:00:24.126 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:02 +0000 (0:00:00.052) 0:00:24.178 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:03 +0000 (0:00:00.022) 0:00:24.201 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:03 +0000 (0:00:00.021) 0:00:24.222 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:04 +0000 (0:00:01.602) 0:00:25.825 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:05 +0000 (0:00:01.352) 0:00:27.177 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:06 +0000 (0:00:00.025) 0:00:27.203 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:06 +0000 (0:00:00.022) 0:00:27.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:06 +0000 (0:00:00.022) 0:00:27.248 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:06 +0000 (0:00:00.045) 0:00:27.294 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:06 +0000 (0:00:00.023) 0:00:27.317 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:06 +0000 (0:00:00.024) 0:00:27.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:06 +0000 (0:00:00.031) 0:00:27.373 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:06 +0000 (0:00:00.036) 0:00:27.409 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:06 +0000 (0:00:00.029) 0:00:27.439 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:06 +0000 (0:00:00.392) 0:00:27.831 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpl38rpbk7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:06 +0000 (0:00:00.338) 0:00:28.169 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:07 +0000 (0:00:00.633) 0:00:28.802 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:07 +0000 (0:00:00.024) 0:00:28.827 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:07 +0000 (0:00:00.023) 0:00:28.850 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:07 +0000 (0:00:00.025) 0:00:28.876 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:07 +0000 (0:00:00.022) 0:00:28.898 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:29:07 +0000 (0:00:00.203) 0:00:29.102 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:29:07 +0000 (0:00:00.045) 0:00:29.147 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:29:07 +0000 (0:00:00.036) 0:00:29.184 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724147.4882946, "block_size": 4096, "blocks": 0, "ctime": 1704724147.4882946, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31951, "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": 1704724147.4882946, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:29:08 +0000 (0:00:00.208) 0:00:29.392 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:29:08 +0000 (0:00:00.023) 0:00:29.415 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:29:08 +0000 (0:00:00.061) 0:00:29.477 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:29:08 +0000 (0:00:00.023) 0:00:29.500 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724147.3030527, "block_size": 4096, "blocks": 8, "ctime": 1704724142.4712627, "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": 1704724142.4712627, "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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:29:08 +0000 (0:00:00.206) 0:00:29.707 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:29:08 +0000 (0:00:00.023) 0:00:29.730 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021482", "end": "2024-01-08 14:29:08.735508", "rc": 1, "start": "2024-01-08 14:29:08.714026" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:29:08 +0000 (0:00:00.225) 0:00:29.955 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:29:08 +0000 (0:00:00.024) 0:00:29.980 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003272", "end": "2024-01-08 14:29:08.971964", "rc": 0, "start": "2024-01-08 14:29:08.968692" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:29:09 +0000 (0:00:00.210) 0:00:30.191 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:29:09 +0000 (0:00:00.027) 0:00:30.219 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003322", "end": "2024-01-08 14:29:09.211342", "rc": 0, "start": "2024-01-08 14:29:09.208020" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:29:09 +0000 (0:00:00.210) 0:00:30.430 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:29:09 +0000 (0:00:00.026) 0:00:30.457 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:29:09 +0000 (0:00:00.023) 0:00:30.480 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:29:09 +0000 (0:00:00.024) 0:00:30.505 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:29:09 +0000 (0:00:00.023) 0:00:30.529 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:29:09 +0000 (0:00:00.020) 0:00:30.549 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:29:09 +0000 (0:00:00.050) 0:00:30.600 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:29:09 +0000 (0:00:00.041) 0:00:30.641 ******** 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.047592", "end": "2024-01-08 14:29:09.673968", "rc": 0, "start": "2024-01-08 14:29:09.626376" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_states.yml:83 Monday 08 January 2024 14:29:09 +0000 (0:00:00.252) 0:00:30.894 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:29:09 +0000 (0:00:00.039) 0:00:30.934 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:29:09 +0000 (0:00:00.025) 0:00:30.959 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:29:09 +0000 (0:00:00.047) 0:00:31.006 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:29:09 +0000 (0:00:00.038) 0:00:31.045 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:29:09 +0000 (0:00:00.035) 0:00:31.080 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003400", "end": "2024-01-08 14:29:10.071909", "rc": 0, "start": "2024-01-08 14:29:10.068509" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:29:10 +0000 (0:00:00.209) 0:00:31.290 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:29:10 +0000 (0:00:00.025) 0:00:31.315 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:29:10 +0000 (0:00:00.052) 0:00:31.368 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:29:10 +0000 (0:00:00.047) 0:00:31.415 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:10 +0000 (0:00:00.038) 0:00:31.453 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:10 +0000 (0:00:00.042) 0:00:31.495 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:10 +0000 (0:00:00.033) 0:00:31.529 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:10 +0000 (0:00:00.024) 0:00:31.553 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:10 +0000 (0:00:00.030) 0:00:31.584 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:12 +0000 (0:00:01.679) 0:00:33.263 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:13 +0000 (0:00:01.319) 0:00:34.582 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:13 +0000 (0:00:00.027) 0:00:34.610 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:13 +0000 (0:00:00.026) 0:00:34.637 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:13 +0000 (0:00:00.026) 0:00:34.663 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:13 +0000 (0:00:00.046) 0:00:34.709 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:13 +0000 (0:00:00.022) 0:00:34.732 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:13 +0000 (0:00:00.028) 0:00:34.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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:13 +0000 (0:00:00.031) 0:00:34.791 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:13 +0000 (0:00:00.045) 0:00:34.836 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:13 +0000 (0:00:00.022) 0:00:34.859 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:14 +0000 (0:00:00.356) 0:00:35.216 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpf70ph61z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:14 +0000 (0:00:00.304) 0:00:35.520 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:14 +0000 (0:00:00.302) 0:00:35.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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:14 +0000 (0:00:00.024) 0:00:35.847 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:14 +0000 (0:00:00.025) 0:00:35.872 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:14 +0000 (0:00:00.023) 0:00:35.896 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:14 +0000 (0:00:00.022) 0:00:35.918 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:29:14 +0000 (0:00:00.198) 0:00:36.117 ******** 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_typefycom2fs/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:29:14 +0000 (0:00:00.023) 0:00:36.140 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:15 +0000 (0:00:00.061) 0:00:36.201 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:15 +0000 (0:00:00.043) 0:00:36.244 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:15 +0000 (0:00:00.028) 0:00:36.273 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:15 +0000 (0:00:00.023) 0:00:36.297 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:15 +0000 (0:00:00.024) 0:00:36.322 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:16 +0000 (0:00:01.640) 0:00:37.963 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:18 +0000 (0:00:01.356) 0:00:39.319 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:18 +0000 (0:00:00.025) 0:00:39.344 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:18 +0000 (0:00:00.024) 0:00:39.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:18 +0000 (0:00:00.022) 0:00:39.391 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:18 +0000 (0:00:00.048) 0:00:39.440 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:18 +0000 (0:00:00.025) 0:00:39.465 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:18 +0000 (0:00:00.022) 0:00:39.487 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:18 +0000 (0:00:00.027) 0:00:39.514 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:18 +0000 (0:00:00.023) 0:00:39.538 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:18 +0000 (0:00:00.023) 0:00:39.561 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:18 +0000 (0:00:00.381) 0:00:39.943 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmp6yecxbbn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:19 +0000 (0:00:00.309) 0:00:40.252 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:19 +0000 (0:00:00.571) 0:00:40.824 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:19 +0000 (0:00:00.034) 0:00:40.859 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:19 +0000 (0:00:00.028) 0:00:40.887 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:19 +0000 (0:00:00.028) 0:00:40.915 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:19 +0000 (0:00:00.023) 0:00:40.939 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:29:19 +0000 (0:00:00.202) 0:00:41.142 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:29:19 +0000 (0:00:00.042) 0:00:41.184 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:20 +0000 (0:00:00.053) 0:00:41.238 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:20 +0000 (0:00:00.078) 0:00:41.317 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:20 +0000 (0:00:00.030) 0:00:41.348 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:20 +0000 (0:00:00.031) 0:00:41.379 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:20 +0000 (0:00:00.025) 0:00:41.404 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:21 +0000 (0:00:01.704) 0:00:43.109 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:23 +0000 (0:00:01.340) 0:00:44.449 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:23 +0000 (0:00:00.023) 0:00:44.473 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:23 +0000 (0:00:00.021) 0:00:44.495 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:23 +0000 (0:00:00.023) 0:00:44.518 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:23 +0000 (0:00:00.044) 0:00:44.563 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:23 +0000 (0:00:00.022) 0:00:44.585 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:23 +0000 (0:00:00.022) 0:00:44.608 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:23 +0000 (0:00:00.026) 0:00:44.634 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:23 +0000 (0:00:00.022) 0:00:44.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:23 +0000 (0:00:00.022) 0:00:44.679 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:23 +0000 (0:00:00.358) 0:00:45.038 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpmkijpwe2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:24 +0000 (0:00:00.309) 0:00:45.347 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:24 +0000 (0:00:00.312) 0:00:45.659 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:24 +0000 (0:00:00.023) 0:00:45.683 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:24 +0000 (0:00:00.024) 0:00:45.708 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:24 +0000 (0:00:00.025) 0:00:45.733 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:24 +0000 (0:00:00.022) 0:00:45.756 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:29:24 +0000 (0:00:00.198) 0:00:45.955 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:29:24 +0000 (0:00:00.046) 0:00:46.002 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:29:24 +0000 (0:00:00.040) 0:00:46.042 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724159.5121434, "block_size": 4096, "blocks": 0, "ctime": 1704724159.5121434, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32082, "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": 1704724159.5121434, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:29:25 +0000 (0:00:00.205) 0:00:46.248 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:29:25 +0000 (0:00:00.025) 0:00:46.273 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:29:25 +0000 (0:00:00.066) 0:00:46.340 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:29:25 +0000 (0:00:00.027) 0:00:46.367 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:29:25 +0000 (0:00:00.201) 0:00:46.569 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:29:25 +0000 (0:00:00.021) 0:00:46.591 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021572", "end": "2024-01-08 14:29:25.594670", "rc": 1, "start": "2024-01-08 14:29:25.573098" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:29:25 +0000 (0:00:00.220) 0:00:46.811 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:29:25 +0000 (0:00:00.023) 0:00:46.835 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:29:25 +0000 (0:00:00.024) 0:00:46.859 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:29:25 +0000 (0:00:00.023) 0:00:46.883 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:29:25 +0000 (0:00:00.025) 0:00:46.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:29:25 +0000 (0:00:00.024) 0:00:46.933 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:29:25 +0000 (0:00:00.025) 0:00:46.958 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:29:25 +0000 (0:00:00.021) 0:00:46.979 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:29:25 +0000 (0:00:00.023) 0:00:47.003 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:29:25 +0000 (0:00:00.071) 0:00:47.074 ******** 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.050644", "end": "2024-01-08 14:29:26.111992", "rc": 0, "start": "2024-01-08 14:29:26.061348" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_states.yml:103 Monday 08 January 2024 14:29:26 +0000 (0:00:00.265) 0:00:47.340 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:29:26 +0000 (0:00:00.040) 0:00:47.380 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:29:26 +0000 (0:00:00.024) 0:00:47.405 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:29:26 +0000 (0:00:00.048) 0:00:47.454 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:29:26 +0000 (0:00:00.037) 0:00:47.491 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:29:26 +0000 (0:00:00.035) 0:00:47.526 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003563", "end": "2024-01-08 14:29:26.513650", "rc": 0, "start": "2024-01-08 14:29:26.510087" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:29:26 +0000 (0:00:00.204) 0:00:47.731 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:29:26 +0000 (0:00:00.024) 0:00:47.756 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:29:26 +0000 (0:00:00.022) 0:00:47.779 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:29:26 +0000 (0:00:00.078) 0:00:47.857 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:26 +0000 (0:00:00.037) 0:00:47.895 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:26 +0000 (0:00:00.045) 0:00:47.941 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:26 +0000 (0:00:00.027) 0:00:47.969 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:26 +0000 (0:00:00.024) 0:00:47.993 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:26 +0000 (0:00:00.025) 0:00:48.018 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:28 +0000 (0:00:01.621) 0:00:49.639 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:29 +0000 (0:00:01.345) 0:00:50.985 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:29 +0000 (0:00:00.024) 0:00:51.010 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:29 +0000 (0:00:00.022) 0:00:51.032 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:29 +0000 (0:00:00.033) 0:00:51.066 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:29 +0000 (0:00:00.053) 0:00:51.119 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:29 +0000 (0:00:00.030) 0:00:51.150 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:29 +0000 (0:00:00.026) 0:00:51.177 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:30 +0000 (0:00:00.027) 0:00:51.204 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:30 +0000 (0:00:00.028) 0:00:51.232 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:30 +0000 (0:00:00.053) 0:00:51.286 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:30 +0000 (0:00:00.361) 0:00:51.648 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpc23wq9l8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:30 +0000 (0:00:00.328) 0:00:51.976 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:31 +0000 (0:00:00.310) 0:00:52.286 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:31 +0000 (0:00:00.022) 0:00:52.309 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:31 +0000 (0:00:00.023) 0:00:52.333 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:31 +0000 (0:00:00.025) 0:00:52.358 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:31 +0000 (0:00:00.022) 0:00:52.381 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:29:31 +0000 (0:00:00.200) 0:00:52.581 ******** 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_typefycom2fs/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:29:31 +0000 (0:00:00.025) 0:00:52.607 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:31 +0000 (0:00:00.037) 0:00:52.645 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:31 +0000 (0:00:00.078) 0:00:52.723 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:31 +0000 (0:00:00.035) 0:00:52.758 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:31 +0000 (0:00:00.025) 0:00:52.783 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:31 +0000 (0:00:00.024) 0:00:52.808 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:33 +0000 (0:00:01.662) 0:00:54.470 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:34 +0000 (0:00:01.322) 0:00:55.793 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:34 +0000 (0:00:00.024) 0:00:55.818 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:34 +0000 (0:00:00.030) 0:00:55.848 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:34 +0000 (0:00:00.026) 0:00:55.875 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:34 +0000 (0:00:00.049) 0:00:55.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:34 +0000 (0:00:00.025) 0:00:55.949 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:34 +0000 (0:00:00.027) 0:00:55.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:34 +0000 (0:00:00.034) 0:00:56.011 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:34 +0000 (0:00:00.024) 0:00:56.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:34 +0000 (0:00:00.022) 0:00:56.057 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:35 +0000 (0:00:00.355) 0:00:56.413 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmp06k84be9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:35 +0000 (0:00:00.310) 0:00:56.723 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:36 +0000 (0:00:00.573) 0:00:57.296 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:36 +0000 (0:00:00.022) 0:00:57.319 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:36 +0000 (0:00:00.024) 0:00:57.344 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:36 +0000 (0:00:00.023) 0:00:57.368 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:36 +0000 (0:00:00.022) 0:00:57.390 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:29:36 +0000 (0:00:00.199) 0:00:57.590 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:36 +0000 (0:00:00.038) 0:00:57.628 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:36 +0000 (0:00:00.040) 0:00:57.669 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:36 +0000 (0:00:00.028) 0:00:57.697 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:36 +0000 (0:00:00.023) 0:00:57.720 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:36 +0000 (0:00:00.049) 0:00:57.770 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:38 +0000 (0:00:01.651) 0:00:59.422 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:39 +0000 (0:00:01.321) 0:01:00.743 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:39 +0000 (0:00:00.024) 0:01:00.767 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:39 +0000 (0:00:00.043) 0:01:00.811 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:39 +0000 (0:00:00.022) 0:01:00.833 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:39 +0000 (0:00:00.043) 0:01:00.877 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:39 +0000 (0:00:00.022) 0:01:00.899 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:39 +0000 (0:00:00.025) 0:01:00.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:39 +0000 (0:00:00.029) 0:01:00.953 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:39 +0000 (0:00:00.027) 0:01:00.981 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:39 +0000 (0:00:00.024) 0:01:01.006 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:40 +0000 (0:00:00.370) 0:01:01.377 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmp0h1zpewo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:40 +0000 (0:00:00.304) 0:01:01.682 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:40 +0000 (0:00:00.306) 0:01:01.988 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:40 +0000 (0:00:00.022) 0:01:02.011 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:40 +0000 (0:00:00.051) 0:01:02.062 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:40 +0000 (0:00:00.024) 0:01:02.086 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:40 +0000 (0:00:00.023) 0:01:02.110 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:29:41 +0000 (0:00:00.202) 0:01:02.312 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:29:41 +0000 (0:00:00.042) 0:01:02.355 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:41 +0000 (0:00:00.042) 0:01:02.397 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:41 +0000 (0:00:00.041) 0:01:02.439 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:41 +0000 (0:00:00.027) 0:01:02.466 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:41 +0000 (0:00:00.029) 0:01:02.496 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:41 +0000 (0:00:00.023) 0:01:02.519 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:42 +0000 (0:00:01.659) 0:01:04.179 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:44 +0000 (0:00:01.352) 0:01:05.531 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:44 +0000 (0:00:00.026) 0:01:05.558 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:44 +0000 (0:00:00.028) 0:01:05.587 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:44 +0000 (0:00:00.022) 0:01:05.609 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:44 +0000 (0:00:00.067) 0:01:05.677 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:44 +0000 (0:00:00.023) 0:01:05.701 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:44 +0000 (0:00:00.022) 0:01:05.724 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:44 +0000 (0:00:00.026) 0:01:05.750 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:44 +0000 (0:00:00.024) 0:01:05.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:44 +0000 (0:00:00.023) 0:01:05.798 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:44 +0000 (0:00:00.364) 0:01:06.163 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpxi63lc2s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:45 +0000 (0:00:00.309) 0:01:06.472 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:45 +0000 (0:00:00.298) 0:01:06.771 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:45 +0000 (0:00:00.021) 0:01:06.793 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:45 +0000 (0:00:00.023) 0:01:06.816 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:45 +0000 (0:00:00.022) 0:01:06.839 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:45 +0000 (0:00:00.021) 0:01:06.860 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:29:45 +0000 (0:00:00.221) 0:01:07.081 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:29:45 +0000 (0:00:00.042) 0:01:07.124 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:29:45 +0000 (0:00:00.037) 0:01:07.162 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:29:45 +0000 (0:00:00.023) 0:01:07.186 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:29:46 +0000 (0:00:00.203) 0:01:07.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:29:46 +0000 (0:00:00.024) 0:01:07.414 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022066", "end": "2024-01-08 14:29:46.422577", "rc": 1, "start": "2024-01-08 14:29:46.400511" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:29:46 +0000 (0:00:00.225) 0:01:07.639 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:29:46 +0000 (0:00:00.023) 0:01:07.663 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:29:46 +0000 (0:00:00.024) 0:01:07.688 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:29:46 +0000 (0:00:00.026) 0:01:07.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:29:46 +0000 (0:00:00.023) 0:01:07.738 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:29:46 +0000 (0:00:00.023) 0:01:07.761 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:29:46 +0000 (0:00:00.057) 0:01:07.819 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:29:46 +0000 (0:00:00.027) 0:01:07.846 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:29:46 +0000 (0:00:00.029) 0:01:07.875 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:29:46 +0000 (0:00:00.042) 0:01:07.918 ******** 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.049213", "end": "2024-01-08 14:29:46.956002", "rc": 0, "start": "2024-01-08 14:29:46.906789" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_states.yml:126 Monday 08 January 2024 14:29:46 +0000 (0:00:00.257) 0:01:08.176 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:29:47 +0000 (0:00:00.038) 0:01:08.214 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:29:47 +0000 (0:00:00.023) 0:01:08.237 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:29:47 +0000 (0:00:00.047) 0:01:08.284 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:29:47 +0000 (0:00:00.037) 0:01:08.322 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:29:47 +0000 (0:00:00.035) 0:01:08.358 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003377", "end": "2024-01-08 14:29:47.348206", "rc": 0, "start": "2024-01-08 14:29:47.344829" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:29:47 +0000 (0:00:00.206) 0:01:08.565 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:29:47 +0000 (0:00:00.051) 0:01:08.616 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:29:47 +0000 (0:00:00.023) 0:01:08.640 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:29:47 +0000 (0:00:00.047) 0:01:08.688 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:47 +0000 (0:00:00.039) 0:01:08.727 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:47 +0000 (0:00:00.043) 0:01:08.771 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:47 +0000 (0:00:00.031) 0:01:08.802 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:47 +0000 (0:00:00.027) 0:01:08.830 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:47 +0000 (0:00:00.040) 0:01:08.870 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:49 +0000 (0:00:01.683) 0:01:10.554 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:50 +0000 (0:00:01.322) 0:01:11.876 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:50 +0000 (0:00:00.025) 0:01:11.902 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:50 +0000 (0:00:00.022) 0:01:11.925 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:50 +0000 (0:00:00.024) 0:01:11.949 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:50 +0000 (0:00:00.056) 0:01:12.006 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:50 +0000 (0:00:00.022) 0:01:12.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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:50 +0000 (0:00:00.049) 0:01:12.078 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:50 +0000 (0:00:00.044) 0:01:12.123 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:50 +0000 (0:00:00.027) 0:01:12.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:50 +0000 (0:00:00.026) 0:01:12.177 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:51 +0000 (0:00:00.360) 0:01:12.538 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmp23jpr39m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:51 +0000 (0:00:00.309) 0:01:12.847 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:51 +0000 (0:00:00.298) 0:01:13.146 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:51 +0000 (0:00:00.023) 0:01:13.169 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:52 +0000 (0:00:00.023) 0:01:13.192 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:52 +0000 (0:00:00.030) 0:01:13.223 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:52 +0000 (0:00:00.022) 0:01:13.246 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:29:52 +0000 (0:00:00.198) 0:01:13.444 ******** 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_typefycom2fs/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:29:52 +0000 (0:00:00.023) 0:01:13.468 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:52 +0000 (0:00:00.067) 0:01:13.535 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:52 +0000 (0:00:00.046) 0:01:13.582 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:52 +0000 (0:00:00.033) 0:01:13.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:52 +0000 (0:00:00.022) 0:01:13.639 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:52 +0000 (0:00:00.021) 0:01:13.660 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:54 +0000 (0:00:01.646) 0:01:15.307 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:29:55 +0000 (0:00:01.351) 0:01:16.659 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:29:55 +0000 (0:00:00.024) 0:01:16.683 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:29:55 +0000 (0:00:00.024) 0:01:16.707 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:29:55 +0000 (0:00:00.025) 0:01:16.733 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:29:55 +0000 (0:00:00.044) 0:01:16.778 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:29:55 +0000 (0:00:00.023) 0:01:16.801 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:29:55 +0000 (0:00:00.022) 0:01:16.823 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:29:55 +0000 (0:00:00.029) 0:01:16.853 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:29:55 +0000 (0:00:00.024) 0:01:16.877 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:29:55 +0000 (0:00:00.023) 0:01:16.901 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:29:56 +0000 (0:00:00.382) 0:01:17.283 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpb162qszb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:29:56 +0000 (0:00:00.304) 0:01:17.587 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:29:56 +0000 (0:00:00.577) 0:01:18.164 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:29:56 +0000 (0:00:00.022) 0:01:18.187 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:29:57 +0000 (0:00:00.024) 0:01:18.211 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:29:57 +0000 (0:00:00.026) 0:01:18.238 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:29:57 +0000 (0:00:00.023) 0:01:18.262 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:29:57 +0000 (0:00:00.198) 0:01:18.460 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:29:57 +0000 (0:00:00.039) 0:01:18.500 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:29:57 +0000 (0:00:00.068) 0:01:18.569 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:29:57 +0000 (0:00:00.028) 0:01:18.597 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:29:57 +0000 (0:00:00.022) 0:01:18.620 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:29:57 +0000 (0:00:00.022) 0:01:18.642 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:29:59 +0000 (0:00:01.650) 0:01:20.293 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:30:00 +0000 (0:00:01.336) 0:01:21.629 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:30:00 +0000 (0:00:00.023) 0:01:21.653 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:30:00 +0000 (0:00:00.021) 0:01:21.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:30:00 +0000 (0:00:00.022) 0:01:21.697 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:30:00 +0000 (0:00:00.044) 0:01:21.742 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:30:00 +0000 (0:00:00.022) 0:01:21.764 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:30:00 +0000 (0:00:00.022) 0:01:21.787 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:30:00 +0000 (0:00:00.025) 0:01:21.813 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:30:00 +0000 (0:00:00.021) 0:01:21.835 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:30:00 +0000 (0:00:00.021) 0:01:21.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:30:01 +0000 (0:00:00.361) 0:01:22.218 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpi53rhse3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:30:01 +0000 (0:00:00.309) 0:01:22.527 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:30:01 +0000 (0:00:00.373) 0:01:22.901 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:30:01 +0000 (0:00:00.038) 0:01:22.940 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:30:01 +0000 (0:00:00.030) 0:01:22.970 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:30:01 +0000 (0:00:00.027) 0:01:22.998 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:30:01 +0000 (0:00:00.022) 0:01:23.021 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:30:02 +0000 (0:00:00.203) 0:01:23.224 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:30:02 +0000 (0:00:00.042) 0:01:23.267 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:30:02 +0000 (0:00:00.038) 0:01:23.305 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:30:02 +0000 (0:00:00.043) 0:01:23.349 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:30:02 +0000 (0:00:00.028) 0:01:23.378 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:30:02 +0000 (0:00:00.023) 0:01:23.401 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:30:02 +0000 (0:00:00.023) 0:01:23.424 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:30:03 +0000 (0:00:01.755) 0:01:25.179 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:30:05 +0000 (0:00:01.335) 0:01:26.515 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:30:05 +0000 (0:00:00.023) 0:01:26.538 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:30:05 +0000 (0:00:00.040) 0:01:26.578 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:30:05 +0000 (0:00:00.023) 0:01:26.602 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:30:05 +0000 (0:00:00.047) 0:01:26.649 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:30:05 +0000 (0:00:00.024) 0:01:26.674 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:30:05 +0000 (0:00:00.028) 0:01:26.703 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:30:05 +0000 (0:00:00.025) 0:01:26.729 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:30:05 +0000 (0:00:00.023) 0:01:26.752 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:30:05 +0000 (0:00:00.023) 0:01:26.775 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:30:05 +0000 (0:00:00.369) 0:01:27.144 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18585cg2itx7y/tmpu6kc1ny0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:30:06 +0000 (0:00:00.312) 0:01:27.457 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:30:06 +0000 (0:00:00.303) 0:01:27.760 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:30:06 +0000 (0:00:00.022) 0:01:27.782 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:30:06 +0000 (0:00:00.053) 0:01:27.836 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:30:06 +0000 (0:00:00.025) 0:01:27.861 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:30:06 +0000 (0:00:00.022) 0:01:27.883 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:30:06 +0000 (0:00:00.203) 0:01:28.087 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:30:06 +0000 (0:00:00.046) 0:01:28.133 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:30:06 +0000 (0:00:00.038) 0:01:28.172 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:30:07 +0000 (0:00:00.022) 0:01:28.194 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:30:07 +0000 (0:00:00.207) 0:01:28.402 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:30:07 +0000 (0:00:00.022) 0:01:28.424 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022593", "end": "2024-01-08 14:30:07.437477", "rc": 1, "start": "2024-01-08 14:30:07.414884" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:30:07 +0000 (0:00:00.230) 0:01:28.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:30:07 +0000 (0:00:00.023) 0:01:28.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:30:07 +0000 (0:00:00.026) 0:01:28.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:30:07 +0000 (0:00:00.061) 0:01:28.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:30:07 +0000 (0:00:00.034) 0:01:28.801 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:30:07 +0000 (0:00:00.031) 0:01:28.833 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 08 January 2024 14:30:07 +0000 (0:00:00.043) 0:01:28.876 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.951445", "end": "2024-01-08 14:30:08.821936", "rc": 0, "start": "2024-01-08 14:30:07.870491" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 08 January 2024 14:30:08 +0000 (0:00:01.165) 0:01:30.041 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 08 January 2024 14:30:08 +0000 (0:00:00.025) 0:01:30.066 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:30:08 +0000 (0:00:00.030) 0:01:30.097 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:30:08 +0000 (0:00:00.030) 0:01:30.127 ******** 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_typefycom2fs/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:30:08 +0000 (0:00:00.028) 0:01:30.156 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:30:09 +0000 (0:00:00.052) 0:01:30.208 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051762", "end": "2024-01-08 14:30:09.275169", "rc": 0, "start": "2024-01-08 14:30:09.223407" } 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 Monday 08 January 2024 14:30:09 +0000 (0:00:00.272) 0:01:30.481 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.36s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.92s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.76s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.64s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.57s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.51s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---