# 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-ci_fix0bgattv6/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/tests_states_initscripts.yml:5 Saturday 27 January 2024 00:44:10 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/tests_states_initscripts.yml:8 Saturday 27 January 2024 00:44:10 +0000 (0:00:00.633) 0:00:00.646 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 00:44:10 +0000 (0:00:00.025) 0:00:00.671 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/el_repo_setup.yml:19 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.332) 0:00:01.004 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/el_repo_setup.yml:24 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.249) 0:00:01.253 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/el_repo_setup.yml:28 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.019) 0:00:01.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/el_repo_setup.yml:53 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.017) 0:00:01.290 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.030) 0:00:01.320 ****** 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-ci_fix0bgattv6/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.246) 0:00:01.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.010) 0:00:01.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 00:44:11 +0000 (0:00:00.010) 0:00:01.588 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246174", "end": "2024-01-27 00:44:12.022036", "rc": 0, "start": "2024-01-27 00:44:11.775862" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.432) 0:00:02.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/tests_states_initscripts.yml:10 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.010) 0:00:02.031 ****** 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-ci_fix0bgattv6/tests/playbooks/tests_states.yml:3 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.016) 0:00:02.047 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tests_states.yml:11 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.499) 0:00:02.547 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tests_states.yml:22 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.012) 0:00:02.559 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.022) 0:00:02.582 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.012) 0:00:02.594 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.037) 0:00:02.631 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.014) 0:00:02.646 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.013) 0:00:02.660 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003307", "end": "2024-01-27 00:44:12.850956", "rc": 0, "start": "2024-01-27 00:44:12.847649" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.204) 0:00:02.864 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.020) 0:00:02.885 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.012) 0:00:02.898 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 00:44:12 +0000 (0:00:00.030) 0:00:02.929 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008102", "end": "2024-01-27 00:44:13.125874", "rc": 1, "start": "2024-01-27 00:44:13.117772" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.191) 0:00:03.121 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.016) 0:00:03.137 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.184) 0:00:03.321 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.012) 0:00:03.333 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.018) 0:00:03.352 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.033) 0:00:03.385 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.069) 0:00:03.455 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.012) 0:00:03.467 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.010) 0:00:03.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:13 +0000 (0:00:00.011) 0:00:03.488 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:15 +0000 (0:00:01.567) 0:00:05.056 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:16 +0000 (0:00:01.686) 0:00:06.743 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.023) 0:00:06.766 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.022) 0:00:06.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.021) 0:00:06.810 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.046) 0:00:06.856 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.023) 0:00:06.880 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.040) 0:00:06.920 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:16 +0000 (0:00:00.039) 0:00:06.960 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:17 +0000 (0:00:00.026) 0:00:06.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:17 +0000 (0:00:00.022) 0:00:07.009 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:17 +0000 (0:00:00.473) 0:00:07.483 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpghhq991c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:17 +0000 (0:00:00.297) 0:00:07.781 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.427) 0:00:08.209 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.022) 0:00:08.231 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.023) 0:00:08.254 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.023) 0:00:08.278 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.022) 0:00:08.300 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.236) 0:00:08.536 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.025) 0:00:08.562 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.041) 0:00:08.603 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.040) 0:00:08.644 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.021) 0:00:08.666 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706316258.1828554, "block_size": 4096, "blocks": 8, "ctime": 1706316258.1828554, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5826025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706316258.1828554, "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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.194) 0:00:08.861 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:44:18 +0000 (0:00:00.034) 0:00:08.895 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020979", "end": "2024-01-27 00:44:19.105421", "rc": 1, "start": "2024-01-27 00:44:19.084442" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.239) 0:00:09.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.024) 0:00:09.158 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003181", "end": "2024-01-27 00:44:19.351365", "rc": 0, "start": "2024-01-27 00:44:19.348184" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.201) 0:00:09.360 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.028) 0:00:09.388 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003121", "end": "2024-01-27 00:44:19.581255", "rc": 0, "start": "2024-01-27 00:44:19.578134" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.201) 0:00:09.589 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.026) 0:00:09.615 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.023) 0:00:09.639 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.023) 0:00:09.663 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.022) 0:00:09.686 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.025) 0:00:09.712 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.022) 0:00:09.734 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:44:19 +0000 (0:00:00.040) 0:00:09.774 ****** 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.040360", "end": "2024-01-27 00:44:20.002955", "rc": 1, "start": "2024-01-27 00:44:19.962595" } 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-ci_fix0bgattv6/tests/playbooks/tests_states.yml:45 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.234) 0:00:10.009 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.061) 0:00:10.070 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.022) 0:00:10.093 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.049) 0:00:10.142 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.036) 0:00:10.178 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.035) 0:00:10.214 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003296", "end": "2024-01-27 00:44:20.403929", "rc": 0, "start": "2024-01-27 00:44:20.400633" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.197) 0:00:10.412 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.024) 0:00:10.436 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.022) 0:00:10.458 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.043) 0:00:10.502 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006349", "end": "2024-01-27 00:44:20.698331", "rc": 1, "start": "2024-01-27 00:44:20.691982" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.212) 0:00:10.715 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 00:44:20 +0000 (0:00:00.063) 0:00:10.778 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.207) 0:00:10.985 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.025) 0:00:11.010 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.039) 0:00:11.050 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.041) 0:00:11.092 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.039) 0:00:11.132 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.026) 0:00:11.158 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.021) 0:00:11.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:21 +0000 (0:00:00.021) 0:00:11.201 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:22 +0000 (0:00:01.525) 0:00:12.726 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:24 +0000 (0:00:01.526) 0:00:14.252 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.024) 0:00:14.276 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.023) 0:00:14.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.023) 0:00:14.323 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.045) 0:00:14.368 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.044) 0:00:14.413 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.023) 0:00:14.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.026) 0:00:14.463 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.029) 0:00:14.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.024) 0:00:14.518 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:24 +0000 (0:00:00.342) 0:00:14.860 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp8tsq2dtl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.301) 0:00:15.162 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.292) 0:00:15.454 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.022) 0:00:15.477 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.022) 0:00:15.500 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.023) 0:00:15.523 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.022) 0:00:15.546 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.213) 0:00:15.759 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.024) 0:00:15.783 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.045) 0:00:15.829 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 00:44:25 +0000 (0:00:00.037) 0:00:15.866 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.196) 0:00:16.063 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.024) 0:00:16.087 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.037) 0:00:16.125 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.023) 0:00:16.149 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706316265.4458237, "block_size": 4096, "blocks": 8, "ctime": 1706316265.4458237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5826025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706316265.4458237, "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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.196) 0:00:16.345 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.023) 0:00:16.369 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020291", "end": "2024-01-27 00:44:26.578845", "rc": 1, "start": "2024-01-27 00:44:26.558554" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.228) 0:00:16.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.028) 0:00:16.626 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003123", "end": "2024-01-27 00:44:26.819779", "rc": 0, "start": "2024-01-27 00:44:26.816656" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.254) 0:00:16.880 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:44:26 +0000 (0:00:00.030) 0:00:16.910 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003224", "end": "2024-01-27 00:44:27.104060", "rc": 0, "start": "2024-01-27 00:44:27.100836" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.202) 0:00:17.113 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.028) 0:00:17.142 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.024) 0:00:17.166 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.026) 0:00:17.192 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.023) 0:00:17.216 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.020) 0:00:17.236 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.023) 0:00:17.260 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.041) 0:00:17.301 ****** 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.039752", "end": "2024-01-27 00:44:27.529786", "rc": 1, "start": "2024-01-27 00:44:27.490034" } 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-ci_fix0bgattv6/tests/playbooks/tests_states.yml:65 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.236) 0:00:17.538 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.037) 0:00:17.575 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.046) 0:00:17.622 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.046) 0:00:17.668 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.039) 0:00:17.708 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.035) 0:00:17.743 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-01-27 00:44:27.937581", "rc": 0, "start": "2024-01-27 00:44:27.934303" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.201) 0:00:17.945 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:44:27 +0000 (0:00:00.023) 0:00:17.969 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.021) 0:00:17.990 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.038) 0:00:18.029 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.036) 0:00:18.065 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.040) 0:00:18.106 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.027) 0:00:18.134 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.051) 0:00:18.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:28 +0000 (0:00:00.024) 0:00:18.210 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:29 +0000 (0:00:01.500) 0:00:19.710 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:31 +0000 (0:00:01.544) 0:00:21.254 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.023) 0:00:21.278 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.027) 0:00:21.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.021) 0:00:21.327 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.045) 0:00:21.372 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.023) 0:00:21.395 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.023) 0:00:21.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.027) 0:00:21.446 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.024) 0:00:21.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.021) 0:00:21.493 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:31 +0000 (0:00:00.342) 0:00:21.835 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp19hftfgp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.294) 0:00:22.130 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.287) 0:00:22.418 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.021) 0:00:22.440 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.047) 0:00:22.487 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.026) 0:00:22.514 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.024) 0:00:22.538 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.192) 0:00:22.731 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.023) 0:00:22.754 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.039) 0:00:22.794 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.045) 0:00:22.840 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.043) 0:00:22.883 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.031) 0:00:22.915 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.024) 0:00:22.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:32 +0000 (0:00:00.022) 0:00:22.961 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:34 +0000 (0:00:01.505) 0:00:24.466 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:36 +0000 (0:00:01.542) 0:00:26.009 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.023) 0:00:26.033 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.021) 0:00:26.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.041) 0:00:26.097 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.045) 0:00:26.142 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.023) 0:00:26.166 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.041) 0:00:26.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.028) 0:00:26.236 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.024) 0:00:26.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.029) 0:00:26.289 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.342) 0:00:26.632 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpqfvs2fj2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:36 +0000 (0:00:00.291) 0:00:26.924 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.557) 0:00:27.482 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.021) 0:00:27.504 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.023) 0:00:27.527 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.051) 0:00:27.579 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.023) 0:00:27.602 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.194) 0:00:27.797 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.048) 0:00:27.845 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 00:44:37 +0000 (0:00:00.052) 0:00:27.898 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706316277.3832312, "block_size": 4096, "blocks": 0, "ctime": 1706316277.3832312, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35852, "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": 1706316277.3832312, "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-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.199) 0:00:28.097 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.026) 0:00:28.124 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.038) 0:00:28.162 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.022) 0:00:28.184 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706316277.2027724, "block_size": 4096, "blocks": 8, "ctime": 1706316272.4097934, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5826025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706316272.4097934, "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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.196) 0:00:28.381 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.024) 0:00:28.405 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020757", "end": "2024-01-27 00:44:38.613916", "rc": 1, "start": "2024-01-27 00:44:38.593159" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.251) 0:00:28.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.039) 0:00:28.696 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003126", "end": "2024-01-27 00:44:38.903333", "rc": 0, "start": "2024-01-27 00:44:38.900207" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.215) 0:00:28.912 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:44:38 +0000 (0:00:00.028) 0:00:28.941 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003140", "end": "2024-01-27 00:44:39.136788", "rc": 0, "start": "2024-01-27 00:44:39.133648" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.203) 0:00:29.145 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.028) 0:00:29.174 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.028) 0:00:29.202 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.025) 0:00:29.228 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.023) 0:00:29.252 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.021) 0:00:29.273 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.022) 0:00:29.295 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.040) 0:00:29.336 ****** 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.046549", "end": "2024-01-27 00:44:39.570322", "rc": 0, "start": "2024-01-27 00:44:39.523773" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tests_states.yml:83 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.243) 0:00:29.580 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.060) 0:00:29.640 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.024) 0:00:29.665 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.047) 0:00:29.712 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.036) 0:00:29.749 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:44:39 +0000 (0:00:00.037) 0:00:29.786 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003301", "end": "2024-01-27 00:44:39.980475", "rc": 0, "start": "2024-01-27 00:44:39.977174" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.201) 0:00:29.988 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.024) 0:00:30.013 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.024) 0:00:30.037 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.043) 0:00:30.081 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.037) 0:00:30.118 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.065) 0:00:30.184 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.029) 0:00:30.213 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.023) 0:00:30.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:40 +0000 (0:00:00.024) 0:00:30.262 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:41 +0000 (0:00:01.521) 0:00:31.783 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:43 +0000 (0:00:01.528) 0:00:33.311 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.023) 0:00:33.335 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.022) 0:00:33.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.023) 0:00:33.380 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.045) 0:00:33.426 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.022) 0:00:33.448 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.022) 0:00:33.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.036) 0:00:33.507 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.024) 0:00:33.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.023) 0:00:33.556 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:43 +0000 (0:00:00.342) 0:00:33.898 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp02irmsmx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.319) 0:00:34.218 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.291) 0:00:34.510 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.022) 0:00:34.532 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.023) 0:00:34.556 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.023) 0:00:34.579 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.022) 0:00:34.602 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.192) 0:00:34.794 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.024) 0:00:34.819 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.041) 0:00:34.860 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.042) 0:00:34.903 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.028) 0:00:34.932 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.022) 0:00:34.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:44 +0000 (0:00:00.021) 0:00:34.976 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:46 +0000 (0:00:01.539) 0:00:36.516 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:48 +0000 (0:00:01.531) 0:00:38.047 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.042) 0:00:38.090 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.022) 0:00:38.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.025) 0:00:38.137 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.046) 0:00:38.183 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.022) 0:00:38.205 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.024) 0:00:38.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.026) 0:00:38.256 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.028) 0:00:38.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.023) 0:00:38.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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.351) 0:00:38.660 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpjo838lgs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:48 +0000 (0:00:00.295) 0:00:38.955 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.561) 0:00:39.516 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.021) 0:00:39.538 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.047) 0:00:39.586 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.024) 0:00:39.610 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.021) 0:00:39.632 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.189) 0:00:39.822 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.040) 0:00:39.862 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.042) 0:00:39.904 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.041) 0:00:39.946 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:49 +0000 (0:00:00.026) 0:00:39.973 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:50 +0000 (0:00:00.021) 0:00:39.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:50 +0000 (0:00:00.022) 0:00:40.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:51 +0000 (0:00:01.519) 0:00:41.536 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:53 +0000 (0:00:01.547) 0:00:43.084 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.023) 0:00:43.108 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.023) 0:00:43.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.022) 0:00:43.155 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.096) 0:00:43.251 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.022) 0:00:43.273 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.021) 0:00:43.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.026) 0:00:43.322 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.021) 0:00:43.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.021) 0:00:43.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:44:53 +0000 (0:00:00.341) 0:00:43.707 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpshnruj95" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.291) 0:00:43.998 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.296) 0:00:44.295 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.021) 0:00:44.317 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.023) 0:00:44.340 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.023) 0:00:44.363 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.021) 0:00:44.385 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.191) 0:00:44.576 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.045) 0:00:44.621 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.036) 0:00:44.658 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706316289.4188132, "block_size": 4096, "blocks": 0, "ctime": 1706316289.4188132, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35983, "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": 1706316289.4188132, "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-ci_fix0bgattv6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.196) 0:00:44.854 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.024) 0:00:44.879 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.038) 0:00:44.918 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:44:54 +0000 (0:00:00.022) 0:00:44.940 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.194) 0:00:45.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.022) 0:00:45.157 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020953", "end": "2024-01-27 00:44:55.366817", "rc": 1, "start": "2024-01-27 00:44:55.345864" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.220) 0:00:45.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.050) 0:00:45.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.023) 0:00:45.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.023) 0:00:45.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.023) 0:00:45.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.022) 0:00:45.521 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.024) 0:00:45.546 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.020) 0:00:45.566 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.022) 0:00:45.589 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.041) 0:00:45.630 ****** 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.045335", "end": "2024-01-27 00:44:55.863405", "rc": 0, "start": "2024-01-27 00:44:55.818070" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tests_states.yml:103 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.242) 0:00:45.873 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.039) 0:00:45.913 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:44:55 +0000 (0:00:00.032) 0:00:45.946 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.047) 0:00:45.993 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.067) 0:00:46.061 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.036) 0:00:46.097 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003260", "end": "2024-01-27 00:44:56.287733", "rc": 0, "start": "2024-01-27 00:44:56.284473" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.198) 0:00:46.295 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.023) 0:00:46.319 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.025) 0:00:46.344 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.049) 0:00:46.393 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.037) 0:00:46.431 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.040) 0:00:46.472 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.027) 0:00:46.499 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.023) 0:00:46.523 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:44:56 +0000 (0:00:00.024) 0:00:46.547 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:44:58 +0000 (0:00:01.514) 0:00:48.062 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:44:59 +0000 (0:00:01.532) 0:00:49.595 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.023) 0:00:49.618 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.041) 0:00:49.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.022) 0:00:49.683 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.045) 0:00:49.728 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.022) 0:00:49.751 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.029) 0:00:49.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.033) 0:00:49.814 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.032) 0:00:49.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:44:59 +0000 (0:00:00.027) 0:00:49.874 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.354) 0:00:50.228 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp18zp8j4u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.294) 0:00:50.523 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.295) 0:00:50.819 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.021) 0:00:50.841 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.022) 0:00:50.863 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.047) 0:00:50.911 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:00 +0000 (0:00:00.022) 0:00:50.934 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.194) 0:00:51.128 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.026) 0:00:51.155 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.039) 0:00:51.194 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.043) 0:00:51.237 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.029) 0:00:51.267 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.022) 0:00:51.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:01 +0000 (0:00:00.022) 0:00:51.311 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:02 +0000 (0:00:01.535) 0:00:52.846 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:04 +0000 (0:00:01.541) 0:00:54.387 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.023) 0:00:54.411 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.021) 0:00:54.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.022) 0:00:54.455 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.044) 0:00:54.500 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.021) 0:00:54.521 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.048) 0:00:54.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.025) 0:00:54.596 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.022) 0:00:54.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:04 +0000 (0:00:00.021) 0:00:54.639 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.342) 0:00:54.982 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpdzzlofyu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.291) 0:00:55.273 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.555) 0:00:55.829 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.021) 0:00:55.850 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.023) 0:00:55.874 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.023) 0:00:55.897 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:05 +0000 (0:00:00.021) 0:00:55.919 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.193) 0:00:56.112 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.059) 0:00:56.172 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.041) 0:00:56.213 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.028) 0:00:56.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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.022) 0:00:56.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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:06 +0000 (0:00:00.021) 0:00:56.286 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:07 +0000 (0:00:01.503) 0:00:57.789 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:09 +0000 (0:00:01.547) 0:00:59.336 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.024) 0:00:59.360 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.022) 0:00:59.382 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.022) 0:00:59.405 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.043) 0:00:59.448 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.022) 0:00:59.471 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.022) 0:00:59.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.025) 0:00:59.519 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.021) 0:00:59.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.021) 0:00:59.562 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:09 +0000 (0:00:00.368) 0:00:59.931 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp8z275unh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.301) 0:01:00.232 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.297) 0:01:00.530 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.022) 0:01:00.553 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.023) 0:01:00.576 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.023) 0:01:00.599 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.022) 0:01:00.621 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.190) 0:01:00.812 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.039) 0:01:00.851 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.041) 0:01:00.893 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:10 +0000 (0:00:00.063) 0:01:00.956 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:11 +0000 (0:00:00.028) 0:01:00.985 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:11 +0000 (0:00:00.021) 0:01:01.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:11 +0000 (0:00:00.022) 0:01:01.029 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:12 +0000 (0:00:01.493) 0:01:02.523 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:14 +0000 (0:00:01.552) 0:01:04.075 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.024) 0:01:04.100 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.022) 0:01:04.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.021) 0:01:04.144 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.043) 0:01:04.187 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.022) 0:01:04.210 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.024) 0:01:04.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.026) 0:01:04.261 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.023) 0:01:04.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.032) 0:01:04.317 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.358) 0:01:04.675 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpjx7k6qy8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:14 +0000 (0:00:00.292) 0:01:04.968 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.314) 0:01:05.282 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.022) 0:01:05.305 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.023) 0:01:05.329 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.023) 0:01:05.352 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.022) 0:01:05.375 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.191) 0:01:05.566 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.042) 0:01:05.608 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.039) 0:01:05.647 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.022) 0:01:05.670 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.195) 0:01:05.866 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:45:15 +0000 (0:00:00.021) 0:01:05.887 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020571", "end": "2024-01-27 00:45:16.095558", "rc": 1, "start": "2024-01-27 00:45:16.074987" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.227) 0:01:06.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.084) 0:01:06.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.025) 0:01:06.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.026) 0:01:06.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.033) 0:01:06.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.030) 0:01:06.316 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.038) 0:01:06.354 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.030) 0:01:06.385 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.024) 0:01:06.409 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.053) 0:01:06.463 ****** 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.045680", "end": "2024-01-27 00:45:16.709359", "rc": 0, "start": "2024-01-27 00:45:16.663679" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tests_states.yml:126 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.256) 0:01:06.720 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.040) 0:01:06.761 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.025) 0:01:06.786 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.050) 0:01:06.836 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.065) 0:01:06.901 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 00:45:16 +0000 (0:00:00.038) 0:01:06.940 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003300", "end": "2024-01-27 00:45:17.134995", "rc": 0, "start": "2024-01-27 00:45:17.131695" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.202) 0:01:07.143 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.024) 0:01:07.167 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.021) 0:01:07.189 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.055) 0:01:07.245 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.039) 0:01:07.284 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.041) 0:01:07.325 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.030) 0:01:07.356 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.023) 0:01:07.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:17 +0000 (0:00:00.023) 0:01:07.403 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:18 +0000 (0:00:01.530) 0:01:08.933 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:20 +0000 (0:00:01.533) 0:01:10.467 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.023) 0:01:10.490 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.045) 0:01:10.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.022) 0:01:10.558 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.045) 0:01:10.604 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.023) 0:01:10.627 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.022) 0:01:10.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.026) 0:01:10.676 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.022) 0:01:10.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:20 +0000 (0:00:00.022) 0:01:10.721 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.346) 0:01:11.068 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpkd_ee_fw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.295) 0:01:11.364 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.306) 0:01:11.671 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.025) 0:01:11.696 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.027) 0:01:11.724 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.055) 0:01:11.780 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:21 +0000 (0:00:00.022) 0:01:11.802 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.199) 0:01:12.002 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.025) 0:01:12.028 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.038) 0:01:12.066 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.043) 0:01:12.109 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.029) 0:01:12.139 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.036) 0:01:12.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:22 +0000 (0:00:00.023) 0:01:12.198 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:23 +0000 (0:00:01.515) 0:01:13.713 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:25 +0000 (0:00:01.528) 0:01:15.242 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.023) 0:01:15.265 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.022) 0:01:15.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.022) 0:01:15.311 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.044) 0:01:15.355 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.022) 0:01:15.377 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.021) 0:01:15.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.046) 0:01:15.445 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.022) 0:01:15.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.021) 0:01:15.490 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:25 +0000 (0:00:00.343) 0:01:15.833 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmptarfd77h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.293) 0:01:16.127 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.558) 0:01:16.685 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.023) 0:01:16.708 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.026) 0:01:16.734 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.023) 0:01:16.758 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.022) 0:01:16.780 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 00:45:26 +0000 (0:00:00.196) 0:01:16.977 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:27 +0000 (0:00:00.064) 0:01:17.042 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:27 +0000 (0:00:00.046) 0:01:17.088 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:27 +0000 (0:00:00.028) 0:01:17.117 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:27 +0000 (0:00:00.022) 0:01:17.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:27 +0000 (0:00:00.022) 0:01:17.161 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:28 +0000 (0:00:01.516) 0:01:18.677 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:30 +0000 (0:00:01.555) 0:01:20.233 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.023) 0:01:20.256 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.022) 0:01:20.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.022) 0:01:20.301 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.043) 0:01:20.344 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.022) 0:01:20.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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.021) 0:01:20.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.027) 0:01:20.416 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.022) 0:01:20.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.021) 0:01:20.460 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:30 +0000 (0:00:00.365) 0:01:20.825 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmpp4gh8pmp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.294) 0:01:21.120 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.308) 0:01:21.428 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.022) 0:01:21.451 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.024) 0:01:21.476 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.024) 0:01:21.500 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.021) 0:01:21.522 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.190) 0:01:21.713 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.040) 0:01:21.754 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.044) 0:01:21.798 ****** included: /WORKDIR/git-ci_fix0bgattv6/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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.041) 0:01:21.840 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 00:45:31 +0000 (0:00:00.127) 0:01:21.967 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 00:45:32 +0000 (0:00:00.033) 0:01:22.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 00:45:32 +0000 (0:00:00.036) 0:01:22.037 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 00:45:33 +0000 (0:00:01.509) 0:01:23.546 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 00:45:35 +0000 (0:00:01.548) 0:01:25.095 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.024) 0:01:25.119 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.022) 0:01:25.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.023) 0:01:25.166 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.045) 0:01:25.211 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.024) 0:01:25.236 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.023) 0:01:25.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.025) 0:01:25.285 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.021) 0:01:25.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.021) 0:01:25.329 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 00:45:35 +0000 (0:00:00.343) 0:01:25.673 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18530bw3v1w89/tmp4fc4ktq4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.311) 0:01:25.984 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.324) 0:01:26.308 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.059) 0:01:26.368 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.027) 0:01:26.395 ****** 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-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.024) 0:01:26.420 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.023) 0:01:26.443 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.200) 0:01:26.643 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.044) 0:01:26.688 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.038) 0:01:26.727 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.022) 0:01:26.749 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.194) 0:01:26.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 00:45:36 +0000 (0:00:00.022) 0:01:26.966 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020666", "end": "2024-01-27 00:45:37.174555", "rc": 1, "start": "2024-01-27 00:45:37.153889" } 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-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.215) 0:01:27.182 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.024) 0:01:27.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.059) 0:01:27.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.026) 0:01:27.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.024) 0:01:27.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.024) 0:01:27.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 January 2024 00:45:37 +0000 (0:00:00.024) 0:01:27.365 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.171626", "end": "2024-01-27 00:45:38.723996", "rc": 0, "start": "2024-01-27 00:45:37.552370" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 January 2024 00:45:38 +0000 (0:00:01.367) 0:01:28.733 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 January 2024 00:45:38 +0000 (0:00:00.023) 0:01:28.757 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 00:45:38 +0000 (0:00:00.021) 0:01:28.778 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 00:45:38 +0000 (0:00:00.025) 0:01:28.804 ****** 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-ci_fix0bgattv6/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 00:45:38 +0000 (0:00:00.027) 0:01:28.832 ****** included: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fix0bgattv6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 00:45:38 +0000 (0:00:00.042) 0:01:28.874 ****** 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.047113", "end": "2024-01-27 00:45:39.111463", "rc": 0, "start": "2024-01-27 00:45:39.064350" } 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 Saturday 27 January 2024 00:45:39 +0000 (0:00:00.233) 0:01:29.108 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.23s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.86s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 1.69s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.61s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.56s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-ci_fix0bgattv6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---