# 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_type0_yg41s7/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_states_initscripts.yml:5 Friday 12 January 2024 18:26:08 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_states_initscripts.yml:8 Friday 12 January 2024 18:26:09 +0000 (0:00:00.703) 0:00:00.715 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:26:09 +0000 (0:00:00.021) 0:00:00.737 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:26:09 +0000 (0:00:00.341) 0:00:01.079 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:26:09 +0000 (0:00:00.268) 0:00:01.347 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:26:09 +0000 (0:00:00.021) 0:00:01.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:26:10 +0000 (0:00:00.018) 0:00:01.387 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:26:10 +0000 (0:00:00.055) 0:00:01.443 ******** 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_type0_yg41s7/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:26:10 +0000 (0:00:00.240) 0:00:01.683 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:26:10 +0000 (0:00:00.012) 0:00:01.695 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:26:10 +0000 (0:00:00.010) 0:00:01.705 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.254459", "end": "2024-01-12 18:26:10.757799", "rc": 0, "start": "2024-01-12 18:26:10.503340" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:26:10 +0000 (0:00:00.444) 0:00:02.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_states_initscripts.yml:10 Friday 12 January 2024 18:26:10 +0000 (0:00:00.009) 0:00:02.159 ******** 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_type0_yg41s7/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:26:10 +0000 (0:00:00.009) 0:00:02.168 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:26:11 +0000 (0:00:00.566) 0:00:02.735 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:26:11 +0000 (0:00:00.010) 0:00:02.746 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:11 +0000 (0:00:00.016) 0:00:02.763 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:11 +0000 (0:00:00.012) 0:00:02.775 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:11 +0000 (0:00:00.035) 0:00:02.810 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:11 +0000 (0:00:00.016) 0:00:02.826 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:11 +0000 (0:00:00.015) 0:00:02.842 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003427", "end": "2024-01-12 18:26:11.645876", "rc": 0, "start": "2024-01-12 18:26:11.642449" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:26:11 +0000 (0:00:00.196) 0:00:03.038 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:26:11 +0000 (0:00:00.013) 0:00:03.052 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:26:11 +0000 (0:00:00.012) 0:00:03.064 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:26:11 +0000 (0:00:00.020) 0:00:03.085 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008318", "end": "2024-01-12 18:26:11.893900", "rc": 1, "start": "2024-01-12 18:26:11.885582" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:26:11 +0000 (0:00:00.200) 0:00:03.285 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:26:11 +0000 (0:00:00.016) 0:00:03.301 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:26:12 +0000 (0:00:00.192) 0:00:03.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:26:12 +0000 (0:00:00.014) 0:00:03.508 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:26:12 +0000 (0:00:00.019) 0:00:03.527 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:12 +0000 (0:00:00.033) 0:00:03.560 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:12 +0000 (0:00:00.070) 0:00:03.631 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:12 +0000 (0:00:00.012) 0:00:03.644 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:12 +0000 (0:00:00.010) 0:00:03.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:12 +0000 (0:00:00.011) 0:00:03.666 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:14 +0000 (0:00:01.709) 0:00:05.375 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:15 +0000 (0:00:01.469) 0:00:06.845 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:15 +0000 (0:00:00.025) 0:00:06.870 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:15 +0000 (0:00:00.023) 0:00:06.893 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:15 +0000 (0:00:00.021) 0:00:06.915 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:15 +0000 (0:00:00.044) 0:00:06.959 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:15 +0000 (0:00:00.021) 0:00:06.981 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:15 +0000 (0:00:00.022) 0:00:07.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:15 +0000 (0:00:00.025) 0:00:07.028 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:15 +0000 (0:00:00.021) 0:00:07.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:15 +0000 (0:00:00.021) 0:00:07.071 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:16 +0000 (0:00:00.489) 0:00:07.561 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp8ggnzo37" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:16 +0000 (0:00:00.306) 0:00:07.868 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:16 +0000 (0:00:00.422) 0:00:08.290 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:16 +0000 (0:00:00.022) 0:00:08.312 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:16 +0000 (0:00:00.022) 0:00:08.335 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:16 +0000 (0:00:00.023) 0:00:08.358 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:17 +0000 (0:00:00.021) 0:00:08.380 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:26:17 +0000 (0:00:00.242) 0:00:08.622 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:26:17 +0000 (0:00:00.024) 0:00:08.647 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:26:17 +0000 (0:00:00.040) 0:00:08.687 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:26:17 +0000 (0:00:00.038) 0:00:08.725 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:26:17 +0000 (0:00:00.021) 0:00:08.747 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083976.8868213, "block_size": 4096, "blocks": 8, "ctime": 1705083976.8878212, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083976.8878212, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:26:17 +0000 (0:00:00.201) 0:00:08.949 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:26:17 +0000 (0:00:00.043) 0:00:08.993 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020347", "end": "2024-01-12 18:26:17.811045", "rc": 1, "start": "2024-01-12 18:26:17.790698" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:26:17 +0000 (0:00:00.220) 0:00:09.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:26:17 +0000 (0:00:00.023) 0:00:09.237 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003188", "end": "2024-01-12 18:26:18.041646", "rc": 0, "start": "2024-01-12 18:26:18.038458" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:26:18 +0000 (0:00:00.208) 0:00:09.446 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:26:18 +0000 (0:00:00.027) 0:00:09.474 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003236", "end": "2024-01-12 18:26:18.280904", "rc": 0, "start": "2024-01-12 18:26:18.277668" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:26:18 +0000 (0:00:00.211) 0:00:09.686 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:26:18 +0000 (0:00:00.027) 0:00:09.713 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:26:18 +0000 (0:00:00.024) 0:00:09.738 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:26:18 +0000 (0:00:00.024) 0:00:09.762 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:26:18 +0000 (0:00:00.022) 0:00:09.785 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:26:18 +0000 (0:00:00.025) 0:00:09.810 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:26:18 +0000 (0:00:00.022) 0:00:09.833 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:26:18 +0000 (0:00:00.040) 0:00:09.873 ******** 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.040699", "end": "2024-01-12 18:26:18.712313", "rc": 1, "start": "2024-01-12 18:26:18.671614" } 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_type0_yg41s7/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:26:18 +0000 (0:00:00.239) 0:00:10.112 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:18 +0000 (0:00:00.037) 0:00:10.150 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:18 +0000 (0:00:00.022) 0:00:10.173 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:18 +0000 (0:00:00.047) 0:00:10.221 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:18 +0000 (0:00:00.036) 0:00:10.257 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:18 +0000 (0:00:00.036) 0:00:10.294 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2024-01-12 18:26:19.095509", "rc": 0, "start": "2024-01-12 18:26:19.092191" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:26:19 +0000 (0:00:00.204) 0:00:10.498 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:26:19 +0000 (0:00:00.024) 0:00:10.523 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:26:19 +0000 (0:00:00.023) 0:00:10.547 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:26:19 +0000 (0:00:00.047) 0:00:10.594 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006557", "end": "2024-01-12 18:26:19.402088", "rc": 1, "start": "2024-01-12 18:26:19.395531" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:26:19 +0000 (0:00:00.230) 0:00:10.825 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:26:19 +0000 (0:00:00.036) 0:00:10.861 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:26:19 +0000 (0:00:00.199) 0:00:11.061 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:26:19 +0000 (0:00:00.024) 0:00:11.085 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:26:19 +0000 (0:00:00.040) 0:00:11.126 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:19 +0000 (0:00:00.042) 0:00:11.168 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:19 +0000 (0:00:00.042) 0:00:11.210 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:19 +0000 (0:00:00.030) 0:00:11.241 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:19 +0000 (0:00:00.023) 0:00:11.264 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:19 +0000 (0:00:00.022) 0:00:11.287 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:21 +0000 (0:00:01.665) 0:00:12.952 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:22 +0000 (0:00:01.316) 0:00:14.268 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:22 +0000 (0:00:00.023) 0:00:14.291 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:22 +0000 (0:00:00.044) 0:00:14.336 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:22 +0000 (0:00:00.022) 0:00:14.358 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:23 +0000 (0:00:00.045) 0:00:14.403 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:23 +0000 (0:00:00.022) 0:00:14.426 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:23 +0000 (0:00:00.021) 0:00:14.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:23 +0000 (0:00:00.025) 0:00:14.473 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:23 +0000 (0:00:00.022) 0:00:14.495 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:23 +0000 (0:00:00.021) 0:00:14.517 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:23 +0000 (0:00:00.352) 0:00:14.869 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp92kb5tgu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:23 +0000 (0:00:00.306) 0:00:15.176 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:24 +0000 (0:00:00.311) 0:00:15.488 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:24 +0000 (0:00:00.025) 0:00:15.514 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:24 +0000 (0:00:00.027) 0:00:15.541 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:24 +0000 (0:00:00.064) 0:00:15.606 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:24 +0000 (0:00:00.023) 0:00:15.630 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:26:24 +0000 (0:00:00.198) 0:00:15.828 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:26:24 +0000 (0:00:00.025) 0:00:15.853 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:26:24 +0000 (0:00:00.045) 0:00:15.899 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:26:24 +0000 (0:00:00.036) 0:00:15.935 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:26:24 +0000 (0:00:00.203) 0:00:16.138 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:26:24 +0000 (0:00:00.026) 0:00:16.165 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:26:24 +0000 (0:00:00.038) 0:00:16.204 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:26:24 +0000 (0:00:00.023) 0:00:16.228 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083984.075484, "block_size": 4096, "blocks": 8, "ctime": 1705083984.075484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083984.075484, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:26:25 +0000 (0:00:00.206) 0:00:16.434 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:26:25 +0000 (0:00:00.023) 0:00:16.457 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019559", "end": "2024-01-12 18:26:25.276262", "rc": 1, "start": "2024-01-12 18:26:25.256703" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:26:25 +0000 (0:00:00.220) 0:00:16.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:26:25 +0000 (0:00:00.023) 0:00:16.701 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003175", "end": "2024-01-12 18:26:25.508808", "rc": 0, "start": "2024-01-12 18:26:25.505633" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:26:25 +0000 (0:00:00.211) 0:00:16.913 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:26:25 +0000 (0:00:00.028) 0:00:16.941 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003149", "end": "2024-01-12 18:26:25.745339", "rc": 0, "start": "2024-01-12 18:26:25.742190" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:26:25 +0000 (0:00:00.207) 0:00:17.149 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:26:25 +0000 (0:00:00.029) 0:00:17.178 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:26:25 +0000 (0:00:00.026) 0:00:17.205 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:26:25 +0000 (0:00:00.024) 0:00:17.230 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:26:25 +0000 (0:00:00.023) 0:00:17.253 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:26:25 +0000 (0:00:00.020) 0:00:17.274 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:26:25 +0000 (0:00:00.022) 0:00:17.296 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:26:25 +0000 (0:00:00.040) 0:00:17.337 ******** 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.039681", "end": "2024-01-12 18:26:26.174303", "rc": 1, "start": "2024-01-12 18:26:26.134622" } 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_type0_yg41s7/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:26:26 +0000 (0:00:00.263) 0:00:17.601 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:26 +0000 (0:00:00.038) 0:00:17.639 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:26 +0000 (0:00:00.023) 0:00:17.663 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:26 +0000 (0:00:00.046) 0:00:17.710 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:26 +0000 (0:00:00.035) 0:00:17.746 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:26 +0000 (0:00:00.035) 0:00:17.781 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2024-01-12 18:26:26.585944", "rc": 0, "start": "2024-01-12 18:26:26.582588" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:26:26 +0000 (0:00:00.207) 0:00:17.989 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:26:26 +0000 (0:00:00.022) 0:00:18.011 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:26:26 +0000 (0:00:00.023) 0:00:18.035 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:26:26 +0000 (0:00:00.038) 0:00:18.073 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:26 +0000 (0:00:00.063) 0:00:18.137 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:26 +0000 (0:00:00.041) 0:00:18.178 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:26 +0000 (0:00:00.028) 0:00:18.206 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:26 +0000 (0:00:00.021) 0:00:18.228 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:26 +0000 (0:00:00.022) 0:00:18.251 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:28 +0000 (0:00:01.643) 0:00:19.894 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:29 +0000 (0:00:01.335) 0:00:21.229 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:29 +0000 (0:00:00.023) 0:00:21.253 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:29 +0000 (0:00:00.021) 0:00:21.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:29 +0000 (0:00:00.022) 0:00:21.297 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:29 +0000 (0:00:00.045) 0:00:21.343 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:29 +0000 (0:00:00.024) 0:00:21.367 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:30 +0000 (0:00:00.023) 0:00:21.391 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:30 +0000 (0:00:00.026) 0:00:21.417 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:30 +0000 (0:00:00.023) 0:00:21.441 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:30 +0000 (0:00:00.022) 0:00:21.464 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:30 +0000 (0:00:00.387) 0:00:21.851 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp0_q68g45" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:30 +0000 (0:00:00.305) 0:00:22.157 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:31 +0000 (0:00:00.299) 0:00:22.456 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:31 +0000 (0:00:00.022) 0:00:22.479 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:31 +0000 (0:00:00.023) 0:00:22.502 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:31 +0000 (0:00:00.022) 0:00:22.525 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:31 +0000 (0:00:00.022) 0:00:22.548 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:26:31 +0000 (0:00:00.196) 0:00:22.744 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:26:31 +0000 (0:00:00.023) 0:00:22.768 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:26:31 +0000 (0:00:00.039) 0:00:22.807 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:31 +0000 (0:00:00.041) 0:00:22.848 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:31 +0000 (0:00:00.066) 0:00:22.915 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:31 +0000 (0:00:00.028) 0:00:22.944 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:31 +0000 (0:00:00.021) 0:00:22.966 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:31 +0000 (0:00:00.022) 0:00:22.988 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:33 +0000 (0:00:01.640) 0:00:24.629 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:34 +0000 (0:00:01.312) 0:00:25.942 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:34 +0000 (0:00:00.025) 0:00:25.968 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:34 +0000 (0:00:00.022) 0:00:25.990 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:34 +0000 (0:00:00.023) 0:00:26.013 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:34 +0000 (0:00:00.046) 0:00:26.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:34 +0000 (0:00:00.022) 0:00:26.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:34 +0000 (0:00:00.022) 0:00:26.105 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:34 +0000 (0:00:00.025) 0:00:26.131 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:34 +0000 (0:00:00.025) 0:00:26.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:34 +0000 (0:00:00.023) 0:00:26.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:35 +0000 (0:00:00.356) 0:00:26.536 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpkoc_njbz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:35 +0000 (0:00:00.325) 0:00:26.862 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:36 +0000 (0:00:00.575) 0:00:27.438 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:36 +0000 (0:00:00.022) 0:00:27.461 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:36 +0000 (0:00:00.022) 0:00:27.484 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:36 +0000 (0:00:00.023) 0:00:27.507 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:36 +0000 (0:00:00.022) 0:00:27.530 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:26:36 +0000 (0:00:00.196) 0:00:27.727 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:26:36 +0000 (0:00:00.044) 0:00:27.771 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:26:36 +0000 (0:00:00.038) 0:00:27.809 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083995.938888, "block_size": 4096, "blocks": 0, "ctime": 1705083995.938888, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36904, "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": 1705083995.938888, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:26:36 +0000 (0:00:00.202) 0:00:28.012 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:26:36 +0000 (0:00:00.025) 0:00:28.037 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:26:36 +0000 (0:00:00.065) 0:00:28.103 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:26:36 +0000 (0:00:00.024) 0:00:28.127 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083995.7559366, "block_size": 4096, "blocks": 8, "ctime": 1705083991.053157, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083991.053157, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:26:36 +0000 (0:00:00.208) 0:00:28.335 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:26:36 +0000 (0:00:00.035) 0:00:28.371 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019924", "end": "2024-01-12 18:26:37.190380", "rc": 1, "start": "2024-01-12 18:26:37.170456" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:26:37 +0000 (0:00:00.222) 0:00:28.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:26:37 +0000 (0:00:00.024) 0:00:28.618 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003360", "end": "2024-01-12 18:26:37.425483", "rc": 0, "start": "2024-01-12 18:26:37.422123" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:26:37 +0000 (0:00:00.211) 0:00:28.830 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:26:37 +0000 (0:00:00.029) 0:00:28.859 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003235", "end": "2024-01-12 18:26:37.665856", "rc": 0, "start": "2024-01-12 18:26:37.662621" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:26:37 +0000 (0:00:00.210) 0:00:29.070 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:26:37 +0000 (0:00:00.027) 0:00:29.098 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:26:37 +0000 (0:00:00.028) 0:00:29.127 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:26:37 +0000 (0:00:00.027) 0:00:29.154 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:26:37 +0000 (0:00:00.024) 0:00:29.179 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:26:37 +0000 (0:00:00.052) 0:00:29.232 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:26:37 +0000 (0:00:00.025) 0:00:29.257 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:26:37 +0000 (0:00:00.042) 0:00:29.299 ******** 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.044636", "end": "2024-01-12 18:26:38.144416", "rc": 0, "start": "2024-01-12 18:26:38.099780" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:26:38 +0000 (0:00:00.249) 0:00:29.549 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:38 +0000 (0:00:00.040) 0:00:29.589 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:38 +0000 (0:00:00.023) 0:00:29.612 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:38 +0000 (0:00:00.049) 0:00:29.662 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:38 +0000 (0:00:00.037) 0:00:29.700 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:38 +0000 (0:00:00.034) 0:00:29.735 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-12 18:26:38.539947", "rc": 0, "start": "2024-01-12 18:26:38.536481" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:26:38 +0000 (0:00:00.208) 0:00:29.943 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:26:38 +0000 (0:00:00.056) 0:00:30.000 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:26:38 +0000 (0:00:00.024) 0:00:30.024 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:26:38 +0000 (0:00:00.045) 0:00:30.070 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:38 +0000 (0:00:00.037) 0:00:30.107 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:38 +0000 (0:00:00.041) 0:00:30.149 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:38 +0000 (0:00:00.026) 0:00:30.176 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:38 +0000 (0:00:00.022) 0:00:30.198 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:38 +0000 (0:00:00.022) 0:00:30.221 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:40 +0000 (0:00:01.657) 0:00:31.878 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:41 +0000 (0:00:01.316) 0:00:33.195 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:41 +0000 (0:00:00.024) 0:00:33.219 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:41 +0000 (0:00:00.022) 0:00:33.241 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:41 +0000 (0:00:00.022) 0:00:33.264 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:41 +0000 (0:00:00.045) 0:00:33.310 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:41 +0000 (0:00:00.022) 0:00:33.332 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:42 +0000 (0:00:00.043) 0:00:33.376 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:42 +0000 (0:00:00.025) 0:00:33.402 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:42 +0000 (0:00:00.022) 0:00:33.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:42 +0000 (0:00:00.022) 0:00:33.446 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:42 +0000 (0:00:00.361) 0:00:33.808 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpfad10wfr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:42 +0000 (0:00:00.303) 0:00:34.111 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:43 +0000 (0:00:00.296) 0:00:34.408 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:43 +0000 (0:00:00.022) 0:00:34.430 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:43 +0000 (0:00:00.022) 0:00:34.452 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:43 +0000 (0:00:00.023) 0:00:34.476 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:43 +0000 (0:00:00.022) 0:00:34.498 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:26:43 +0000 (0:00:00.199) 0:00:34.698 ******** 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_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:26:43 +0000 (0:00:00.022) 0:00:34.721 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:43 +0000 (0:00:00.060) 0:00:34.781 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:43 +0000 (0:00:00.041) 0:00:34.823 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:43 +0000 (0:00:00.028) 0:00:34.851 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:43 +0000 (0:00:00.021) 0:00:34.873 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:43 +0000 (0:00:00.022) 0:00:34.895 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:45 +0000 (0:00:01.666) 0:00:36.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:46 +0000 (0:00:01.335) 0:00:37.897 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:46 +0000 (0:00:00.024) 0:00:37.921 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:46 +0000 (0:00:00.023) 0:00:37.945 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:46 +0000 (0:00:00.022) 0:00:37.968 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:46 +0000 (0:00:00.050) 0:00:38.018 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:46 +0000 (0:00:00.027) 0:00:38.046 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:46 +0000 (0:00:00.028) 0:00:38.074 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:46 +0000 (0:00:00.027) 0:00:38.102 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:46 +0000 (0:00:00.028) 0:00:38.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:46 +0000 (0:00:00.024) 0:00:38.156 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:47 +0000 (0:00:00.406) 0:00:38.562 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp3gpa2qza" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:47 +0000 (0:00:00.334) 0:00:38.896 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:48 +0000 (0:00:00.576) 0:00:39.473 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:48 +0000 (0:00:00.023) 0:00:39.497 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:48 +0000 (0:00:00.036) 0:00:39.533 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:48 +0000 (0:00:00.024) 0:00:39.558 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:48 +0000 (0:00:00.024) 0:00:39.583 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:26:48 +0000 (0:00:00.199) 0:00:39.782 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:26:48 +0000 (0:00:00.040) 0:00:39.822 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:48 +0000 (0:00:00.063) 0:00:39.886 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:48 +0000 (0:00:00.041) 0:00:39.928 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:48 +0000 (0:00:00.028) 0:00:39.956 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:48 +0000 (0:00:00.022) 0:00:39.979 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:48 +0000 (0:00:00.021) 0:00:40.001 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:50 +0000 (0:00:01.658) 0:00:41.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:51 +0000 (0:00:01.333) 0:00:42.993 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:51 +0000 (0:00:00.023) 0:00:43.017 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:51 +0000 (0:00:00.023) 0:00:43.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:51 +0000 (0:00:00.024) 0:00:43.065 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:51 +0000 (0:00:00.047) 0:00:43.113 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:51 +0000 (0:00:00.034) 0:00:43.147 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:51 +0000 (0:00:00.023) 0:00:43.170 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:51 +0000 (0:00:00.026) 0:00:43.196 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:51 +0000 (0:00:00.022) 0:00:43.219 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:51 +0000 (0:00:00.022) 0:00:43.241 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:52 +0000 (0:00:00.383) 0:00:43.624 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpbg20yfzb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:52 +0000 (0:00:00.306) 0:00:43.931 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:52 +0000 (0:00:00.310) 0:00:44.241 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:52 +0000 (0:00:00.022) 0:00:44.264 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:52 +0000 (0:00:00.023) 0:00:44.287 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:52 +0000 (0:00:00.025) 0:00:44.312 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:52 +0000 (0:00:00.022) 0:00:44.335 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:26:53 +0000 (0:00:00.202) 0:00:44.538 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:26:53 +0000 (0:00:00.047) 0:00:44.586 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:26:53 +0000 (0:00:00.038) 0:00:44.624 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084007.9782722, "block_size": 4096, "blocks": 0, "ctime": 1705084007.9782722, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37035, "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": 1705084007.9782722, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:26:53 +0000 (0:00:00.207) 0:00:44.832 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:26:53 +0000 (0:00:00.070) 0:00:44.902 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:26:53 +0000 (0:00:00.038) 0:00:44.940 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:26:53 +0000 (0:00:00.021) 0:00:44.962 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:26:53 +0000 (0:00:00.208) 0:00:45.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:26:53 +0000 (0:00:00.024) 0:00:45.195 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020332", "end": "2024-01-12 18:26:54.020280", "rc": 1, "start": "2024-01-12 18:26:53.999948" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:26:54 +0000 (0:00:00.227) 0:00:45.423 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:26:54 +0000 (0:00:00.025) 0:00:45.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:26:54 +0000 (0:00:00.026) 0:00:45.474 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:26:54 +0000 (0:00:00.023) 0:00:45.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:26:54 +0000 (0:00:00.024) 0:00:45.523 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:26:54 +0000 (0:00:00.024) 0:00:45.547 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:26:54 +0000 (0:00:00.027) 0:00:45.574 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:26:54 +0000 (0:00:00.021) 0:00:45.596 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:26:54 +0000 (0:00:00.023) 0:00:45.620 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:26:54 +0000 (0:00:00.091) 0:00:45.711 ******** 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.045640", "end": "2024-01-12 18:26:54.560415", "rc": 0, "start": "2024-01-12 18:26:54.514775" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 18:26:54 +0000 (0:00:00.254) 0:00:45.966 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:26:54 +0000 (0:00:00.038) 0:00:46.005 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:26:54 +0000 (0:00:00.024) 0:00:46.029 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:26:54 +0000 (0:00:00.050) 0:00:46.079 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:26:54 +0000 (0:00:00.036) 0:00:46.115 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:26:54 +0000 (0:00:00.037) 0:00:46.153 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2024-01-12 18:26:54.955592", "rc": 0, "start": "2024-01-12 18:26:54.952057" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:26:54 +0000 (0:00:00.206) 0:00:46.359 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:26:55 +0000 (0:00:00.028) 0:00:46.387 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:26:55 +0000 (0:00:00.023) 0:00:46.410 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:26:55 +0000 (0:00:00.086) 0:00:46.497 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:55 +0000 (0:00:00.037) 0:00:46.535 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:55 +0000 (0:00:00.042) 0:00:46.577 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:55 +0000 (0:00:00.028) 0:00:46.606 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:26:55 +0000 (0:00:00.022) 0:00:46.628 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:26:55 +0000 (0:00:00.021) 0:00:46.650 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:26:56 +0000 (0:00:01.683) 0:00:48.334 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:26:58 +0000 (0:00:01.317) 0:00:49.651 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:26:58 +0000 (0:00:00.024) 0:00:49.676 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:26:58 +0000 (0:00:00.025) 0:00:49.702 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:26:58 +0000 (0:00:00.022) 0:00:49.724 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:26:58 +0000 (0:00:00.045) 0:00:49.770 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:26:58 +0000 (0:00:00.025) 0:00:49.795 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:26:58 +0000 (0:00:00.022) 0:00:49.818 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:26:58 +0000 (0:00:00.026) 0:00:49.844 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:26:58 +0000 (0:00:00.023) 0:00:49.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:26:58 +0000 (0:00:00.050) 0:00:49.919 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:26:58 +0000 (0:00:00.359) 0:00:50.279 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp_r8_e0sw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:26:59 +0000 (0:00:00.308) 0:00:50.587 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:26:59 +0000 (0:00:00.303) 0:00:50.891 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:26:59 +0000 (0:00:00.023) 0:00:50.915 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:26:59 +0000 (0:00:00.027) 0:00:50.942 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:26:59 +0000 (0:00:00.025) 0:00:50.967 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:26:59 +0000 (0:00:00.022) 0:00:50.990 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:26:59 +0000 (0:00:00.198) 0:00:51.188 ******** 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_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:26:59 +0000 (0:00:00.025) 0:00:51.213 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:26:59 +0000 (0:00:00.042) 0:00:51.256 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:26:59 +0000 (0:00:00.069) 0:00:51.326 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:26:59 +0000 (0:00:00.028) 0:00:51.354 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:00 +0000 (0:00:00.022) 0:00:51.377 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:00 +0000 (0:00:00.023) 0:00:51.400 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:01 +0000 (0:00:01.661) 0:00:53.061 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:03 +0000 (0:00:01.345) 0:00:54.407 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:03 +0000 (0:00:00.023) 0:00:54.430 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:03 +0000 (0:00:00.021) 0:00:54.452 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:03 +0000 (0:00:00.022) 0:00:54.475 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:03 +0000 (0:00:00.043) 0:00:54.518 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:03 +0000 (0:00:00.022) 0:00:54.540 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:03 +0000 (0:00:00.022) 0:00:54.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:03 +0000 (0:00:00.026) 0:00:54.590 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:03 +0000 (0:00:00.023) 0:00:54.613 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:03 +0000 (0:00:00.023) 0:00:54.637 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:03 +0000 (0:00:00.377) 0:00:55.014 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpecs52lks" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:03 +0000 (0:00:00.303) 0:00:55.317 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:04 +0000 (0:00:00.570) 0:00:55.888 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:04 +0000 (0:00:00.022) 0:00:55.911 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:04 +0000 (0:00:00.022) 0:00:55.934 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:04 +0000 (0:00:00.023) 0:00:55.958 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:04 +0000 (0:00:00.022) 0:00:55.980 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:27:04 +0000 (0:00:00.200) 0:00:56.180 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:04 +0000 (0:00:00.038) 0:00:56.219 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:04 +0000 (0:00:00.043) 0:00:56.262 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:04 +0000 (0:00:00.027) 0:00:56.289 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:04 +0000 (0:00:00.051) 0:00:56.341 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:04 +0000 (0:00:00.023) 0:00:56.365 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:06 +0000 (0:00:01.652) 0:00:58.017 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:07 +0000 (0:00:01.334) 0:00:59.352 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:08 +0000 (0:00:00.023) 0:00:59.376 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:08 +0000 (0:00:00.022) 0:00:59.398 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:08 +0000 (0:00:00.022) 0:00:59.421 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:08 +0000 (0:00:00.045) 0:00:59.467 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:08 +0000 (0:00:00.023) 0:00:59.490 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:08 +0000 (0:00:00.022) 0:00:59.513 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:08 +0000 (0:00:00.025) 0:00:59.539 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:08 +0000 (0:00:00.024) 0:00:59.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:08 +0000 (0:00:00.022) 0:00:59.586 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:08 +0000 (0:00:00.358) 0:00:59.944 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp2sgs4uka" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:08 +0000 (0:00:00.304) 0:01:00.249 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:09 +0000 (0:00:00.309) 0:01:00.559 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:09 +0000 (0:00:00.056) 0:01:00.615 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:09 +0000 (0:00:00.024) 0:01:00.640 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:09 +0000 (0:00:00.025) 0:01:00.666 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:09 +0000 (0:00:00.022) 0:01:00.689 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:27:09 +0000 (0:00:00.198) 0:01:00.887 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:27:09 +0000 (0:00:00.041) 0:01:00.929 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:09 +0000 (0:00:00.043) 0:01:00.972 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:09 +0000 (0:00:00.040) 0:01:01.013 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:09 +0000 (0:00:00.027) 0:01:01.040 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:09 +0000 (0:00:00.021) 0:01:01.062 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:09 +0000 (0:00:00.022) 0:01:01.084 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:11 +0000 (0:00:01.646) 0:01:02.731 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:12 +0000 (0:00:01.316) 0:01:04.048 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:12 +0000 (0:00:00.025) 0:01:04.074 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:12 +0000 (0:00:00.022) 0:01:04.096 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:12 +0000 (0:00:00.042) 0:01:04.139 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:12 +0000 (0:00:00.045) 0:01:04.184 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:12 +0000 (0:00:00.022) 0:01:04.206 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:12 +0000 (0:00:00.022) 0:01:04.229 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:12 +0000 (0:00:00.025) 0:01:04.255 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:12 +0000 (0:00:00.022) 0:01:04.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:12 +0000 (0:00:00.022) 0:01:04.300 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:13 +0000 (0:00:00.360) 0:01:04.661 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpijlffugy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:13 +0000 (0:00:00.304) 0:01:04.965 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:13 +0000 (0:00:00.299) 0:01:05.264 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:13 +0000 (0:00:00.022) 0:01:05.286 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:13 +0000 (0:00:00.023) 0:01:05.310 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:13 +0000 (0:00:00.023) 0:01:05.333 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:14 +0000 (0:00:00.047) 0:01:05.380 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:27:14 +0000 (0:00:00.201) 0:01:05.582 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:27:14 +0000 (0:00:00.042) 0:01:05.625 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:27:14 +0000 (0:00:00.041) 0:01:05.666 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:27:14 +0000 (0:00:00.023) 0:01:05.690 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:27:14 +0000 (0:00:00.202) 0:01:05.892 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:27:14 +0000 (0:00:00.021) 0:01:05.914 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020269", "end": "2024-01-12 18:27:14.732805", "rc": 1, "start": "2024-01-12 18:27:14.712536" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:27:14 +0000 (0:00:00.220) 0:01:06.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:27:14 +0000 (0:00:00.023) 0:01:06.158 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:27:14 +0000 (0:00:00.023) 0:01:06.182 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:27:14 +0000 (0:00:00.022) 0:01:06.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:27:14 +0000 (0:00:00.026) 0:01:06.231 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:27:14 +0000 (0:00:00.058) 0:01:06.289 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:27:14 +0000 (0:00:00.026) 0:01:06.316 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:27:14 +0000 (0:00:00.028) 0:01:06.344 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:27:14 +0000 (0:00:00.025) 0:01:06.369 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:27:15 +0000 (0:00:00.045) 0:01:06.415 ******** 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.044469", "end": "2024-01-12 18:27:15.263455", "rc": 0, "start": "2024-01-12 18:27:15.218986" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 18:27:15 +0000 (0:00:00.252) 0:01:06.668 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:27:15 +0000 (0:00:00.040) 0:01:06.708 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:27:15 +0000 (0:00:00.023) 0:01:06.731 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:27:15 +0000 (0:00:00.047) 0:01:06.779 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:27:15 +0000 (0:00:00.036) 0:01:06.815 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:27:15 +0000 (0:00:00.034) 0:01:06.849 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2024-01-12 18:27:15.652835", "rc": 0, "start": "2024-01-12 18:27:15.649347" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:27:15 +0000 (0:00:00.236) 0:01:07.086 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:27:15 +0000 (0:00:00.024) 0:01:07.110 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:27:15 +0000 (0:00:00.023) 0:01:07.133 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:27:15 +0000 (0:00:00.046) 0:01:07.180 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:15 +0000 (0:00:00.037) 0:01:07.218 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:15 +0000 (0:00:00.042) 0:01:07.260 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:15 +0000 (0:00:00.027) 0:01:07.288 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:15 +0000 (0:00:00.022) 0:01:07.311 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:15 +0000 (0:00:00.022) 0:01:07.334 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:17 +0000 (0:00:01.663) 0:01:08.998 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:18 +0000 (0:00:01.318) 0:01:10.316 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:18 +0000 (0:00:00.023) 0:01:10.339 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:18 +0000 (0:00:00.022) 0:01:10.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:19 +0000 (0:00:00.022) 0:01:10.384 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:19 +0000 (0:00:00.044) 0:01:10.428 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:19 +0000 (0:00:00.043) 0:01:10.472 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:19 +0000 (0:00:00.022) 0:01:10.495 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:19 +0000 (0:00:00.025) 0:01:10.520 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:19 +0000 (0:00:00.022) 0:01:10.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:19 +0000 (0:00:00.022) 0:01:10.564 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:19 +0000 (0:00:00.357) 0:01:10.922 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp0z3vhvyv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:19 +0000 (0:00:00.308) 0:01:11.231 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:20 +0000 (0:00:00.300) 0:01:11.531 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:20 +0000 (0:00:00.024) 0:01:11.555 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:20 +0000 (0:00:00.024) 0:01:11.580 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:20 +0000 (0:00:00.024) 0:01:11.605 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:20 +0000 (0:00:00.022) 0:01:11.628 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:27:20 +0000 (0:00:00.230) 0:01:11.858 ******** 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_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:27:20 +0000 (0:00:00.024) 0:01:11.883 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:20 +0000 (0:00:00.037) 0:01:11.920 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:20 +0000 (0:00:00.041) 0:01:11.961 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:20 +0000 (0:00:00.028) 0:01:11.990 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:20 +0000 (0:00:00.022) 0:01:12.012 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:20 +0000 (0:00:00.022) 0:01:12.035 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:22 +0000 (0:00:01.668) 0:01:13.704 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:23 +0000 (0:00:01.318) 0:01:15.022 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:23 +0000 (0:00:00.024) 0:01:15.047 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:23 +0000 (0:00:00.024) 0:01:15.071 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:23 +0000 (0:00:00.028) 0:01:15.099 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:23 +0000 (0:00:00.053) 0:01:15.153 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:23 +0000 (0:00:00.025) 0:01:15.178 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:23 +0000 (0:00:00.025) 0:01:15.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:23 +0000 (0:00:00.030) 0:01:15.234 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:23 +0000 (0:00:00.050) 0:01:15.285 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:23 +0000 (0:00:00.022) 0:01:15.308 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:24 +0000 (0:00:00.359) 0:01:15.668 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpfmq72eor" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:24 +0000 (0:00:00.306) 0:01:15.974 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:25 +0000 (0:00:00.575) 0:01:16.550 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:25 +0000 (0:00:00.023) 0:01:16.573 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:25 +0000 (0:00:00.026) 0:01:16.599 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:25 +0000 (0:00:00.028) 0:01:16.628 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:25 +0000 (0:00:00.024) 0:01:16.652 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:27:25 +0000 (0:00:00.196) 0:01:16.849 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:25 +0000 (0:00:00.059) 0:01:16.908 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:25 +0000 (0:00:00.042) 0:01:16.951 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:25 +0000 (0:00:00.030) 0:01:16.982 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:25 +0000 (0:00:00.022) 0:01:17.004 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:25 +0000 (0:00:00.022) 0:01:17.026 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:27 +0000 (0:00:01.652) 0:01:18.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:28 +0000 (0:00:01.344) 0:01:20.023 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:28 +0000 (0:00:00.025) 0:01:20.048 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:28 +0000 (0:00:00.024) 0:01:20.073 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:28 +0000 (0:00:00.025) 0:01:20.098 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:28 +0000 (0:00:00.047) 0:01:20.145 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:28 +0000 (0:00:00.023) 0:01:20.169 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:28 +0000 (0:00:00.023) 0:01:20.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:28 +0000 (0:00:00.027) 0:01:20.220 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:28 +0000 (0:00:00.024) 0:01:20.244 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:28 +0000 (0:00:00.025) 0:01:20.270 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:29 +0000 (0:00:00.385) 0:01:20.655 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmp3bga1mgc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:29 +0000 (0:00:00.307) 0:01:20.963 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:29 +0000 (0:00:00.319) 0:01:21.283 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:29 +0000 (0:00:00.024) 0:01:21.308 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:29 +0000 (0:00:00.026) 0:01:21.334 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:29 +0000 (0:00:00.024) 0:01:21.359 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:30 +0000 (0:00:00.022) 0:01:21.382 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:27:30 +0000 (0:00:00.195) 0:01:21.577 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:27:30 +0000 (0:00:00.040) 0:01:21.617 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:30 +0000 (0:00:00.035) 0:01:21.653 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:30 +0000 (0:00:00.041) 0:01:21.695 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:30 +0000 (0:00:00.056) 0:01:21.751 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:30 +0000 (0:00:00.023) 0:01:21.775 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:30 +0000 (0:00:00.022) 0:01:21.797 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:32 +0000 (0:00:01.643) 0:01:23.441 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:33 +0000 (0:00:01.337) 0:01:24.778 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:33 +0000 (0:00:00.023) 0:01:24.802 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:33 +0000 (0:00:00.022) 0:01:24.825 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:33 +0000 (0:00:00.021) 0:01:24.846 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:33 +0000 (0:00:00.045) 0:01:24.892 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:33 +0000 (0:00:00.022) 0:01:24.915 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:33 +0000 (0:00:00.022) 0:01:24.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:33 +0000 (0:00:00.028) 0:01:24.966 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:33 +0000 (0:00:00.025) 0:01:24.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:33 +0000 (0:00:00.024) 0:01:25.015 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:33 +0000 (0:00:00.356) 0:01:25.372 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-179267dr6hja2/tmpxes_4rsl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:34 +0000 (0:00:00.305) 0:01:25.678 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:34 +0000 (0:00:00.357) 0:01:26.035 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:34 +0000 (0:00:00.023) 0:01:26.059 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:34 +0000 (0:00:00.025) 0:01:26.084 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:34 +0000 (0:00:00.025) 0:01:26.109 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:34 +0000 (0:00:00.022) 0:01:26.132 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:27:34 +0000 (0:00:00.198) 0:01:26.330 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:27:35 +0000 (0:00:00.046) 0:01:26.377 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:27:35 +0000 (0:00:00.038) 0:01:26.415 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:27:35 +0000 (0:00:00.023) 0:01:26.439 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:27:35 +0000 (0:00:00.202) 0:01:26.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:27:35 +0000 (0:00:00.022) 0:01:26.664 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019737", "end": "2024-01-12 18:27:35.483519", "rc": 1, "start": "2024-01-12 18:27:35.463782" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:27:35 +0000 (0:00:00.222) 0:01:26.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:27:35 +0000 (0:00:00.053) 0:01:26.939 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:27:35 +0000 (0:00:00.023) 0:01:26.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:27:35 +0000 (0:00:00.024) 0:01:26.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:27:35 +0000 (0:00:00.023) 0:01:27.011 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:27:35 +0000 (0:00:00.023) 0:01:27.034 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:27:35 +0000 (0:00:00.024) 0:01:27.059 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.945692", "end": "2024-01-12 18:27:36.802452", "rc": 0, "start": "2024-01-12 18:27:35.856760" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:27:36 +0000 (0:00:01.146) 0:01:28.206 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:27:36 +0000 (0:00:00.024) 0:01:28.230 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:27:36 +0000 (0:00:00.024) 0:01:28.255 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:27:36 +0000 (0:00:00.027) 0:01:28.282 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:27:36 +0000 (0:00:00.022) 0:01:28.305 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:27:36 +0000 (0:00:00.067) 0:01:28.373 ******** 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.050003", "end": "2024-01-12 18:27:37.224347", "rc": 0, "start": "2024-01-12 18:27:37.174344" } 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 Friday 12 January 2024 18:27:37 +0000 (0:00:00.241) 0:01:28.614 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.30s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.96s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.62s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.53s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.50s /WORKDIR/git-route_type0_yg41s7/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. ---^---^---^---^---^---