# 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_fixbnn1__n0/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tests_states_initscripts.yml:5 Tuesday 23 January 2024 20:07:37 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tests_states_initscripts.yml:8 Tuesday 23 January 2024 20:07:38 +0000 (0:00:00.906) 0:00:00.917 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/tasks/el_repo_setup.yml:3 Tuesday 23 January 2024 20:07:38 +0000 (0:00:00.023) 0:00:00.941 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/el_repo_setup.yml:19 Tuesday 23 January 2024 20:07:38 +0000 (0:00:00.231) 0:00:01.173 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/el_repo_setup.yml:24 Tuesday 23 January 2024 20:07:38 +0000 (0:00:00.183) 0:00:01.356 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/el_repo_setup.yml:28 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.022) 0:00:01.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/el_repo_setup.yml:53 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.018) 0:00:01.397 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml:8 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.032) 0:00:01.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml:24 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.011) 0:00:01.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml:30 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.010) 0:00:01.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml:35 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.010) 0:00:01.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tasks/enable_epel.yml:40 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.010) 0:00:01.473 ******* ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/tests_states_initscripts.yml:10 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.438) 0:00:01.912 ******* 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_fixbnn1__n0/tests/playbooks/tests_states.yml:3 Tuesday 23 January 2024 20:07:39 +0000 (0:00:00.010) 0:00:01.922 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:11 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.724) 0:00:02.647 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:22 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.011) 0:00:02.659 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.017) 0:00:02.677 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.012) 0:00:02.689 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.035) 0:00:02.724 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.016) 0:00:02.741 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.014) 0:00:02.755 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-01-23 20:07:40.523842", "rc": 0, "start": "2024-01-23 20:07:40.520595" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.190) 0:00:02.946 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.013) 0:00:02.959 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.011) 0:00:02.970 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.022) 0:00:02.993 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.029833", "end": "2024-01-23 20:07:40.721023", "rc": 255, "start": "2024-01-23 20:07:40.691190" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.147) 0:00:03.141 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.017) 0:00:03.158 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.121) 0:00:03.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.014) 0:00:03.294 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.019) 0:00:03.314 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:07:40 +0000 (0:00:00.033) 0:00:03.348 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:07:41 +0000 (0:00:00.069) 0:00:03.418 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:07:41 +0000 (0:00:00.013) 0:00:03.431 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:07:41 +0000 (0:00:00.010) 0:00:03.442 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:07:41 +0000 (0:00:00.010) 0:00:03.452 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:07:42 +0000 (0:00:01.864) 0:00:05.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 : Print network provider] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.710) 0:00:06.027 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.021) 0:00:06.049 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.021) 0:00:06.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.033) 0:00:06.104 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.042) 0:00:06.146 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.020) 0:00:06.167 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.021) 0:00:06.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.023) 0:00:06.212 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.020) 0:00:06.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:07:43 +0000 (0:00:00.019) 0:00:06.252 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.267) 0:00:06.520 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpf5hi520f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.193) 0:00:06.714 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.357) 0:00:07.071 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.020) 0:00:07.092 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.021) 0:00:07.114 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.021) 0:00:07.135 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:07:44 +0000 (0:00:00.020) 0:00:07.156 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.218) 0:00:07.375 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.022) 0:00:07.397 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.038) 0:00:07.436 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.036) 0:00:07.472 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.020) 0:00:07.493 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706040464.6401575, "block_size": 4096, "blocks": 8, "ctime": 1706040464.6401575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706040464.6401575, "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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.127) 0:00:07.620 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.022) 0:00:07.642 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006589", "end": "2024-01-23 20:07:45.347972", "rc": 1, "start": "2024-01-23 20:07:45.341383" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.133) 0:00:07.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.021) 0:00:07.798 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003158", "end": "2024-01-23 20:07:45.503034", "rc": 0, "start": "2024-01-23 20:07:45.499876" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.134) 0:00:07.932 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.025) 0:00:07.958 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003092", "end": "2024-01-23 20:07:45.665568", "rc": 0, "start": "2024-01-23 20:07:45.662476" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.137) 0:00:08.096 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.025) 0:00:08.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.044) 0:00:08.165 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.025) 0:00:08.191 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.022) 0:00:08.213 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.025) 0:00:08.238 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.022) 0:00:08.261 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:07:45 +0000 (0:00:00.039) 0:00:08.300 ******* 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.056817", "end": "2024-01-23 20:07:46.056534", "rc": 255, "start": "2024-01-23 20:07:45.999717" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:45 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.187) 0:00:08.488 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.036) 0:00:08.524 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.022) 0:00:08.546 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.044) 0:00:08.590 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.033) 0:00:08.624 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.033) 0:00:08.658 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003297", "end": "2024-01-23 20:07:46.362010", "rc": 0, "start": "2024-01-23 20:07:46.358713" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.154) 0:00:08.812 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.022) 0:00:08.835 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.021) 0:00:08.856 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.040) 0:00:08.897 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004770", "end": "2024-01-23 20:07:46.604783", "rc": 255, "start": "2024-01-23 20:07:46.600013" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.137) 0:00:09.034 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.034) 0:00:09.068 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.129) 0:00:09.197 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.023) 0:00:09.221 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.038) 0:00:09.259 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:07:46 +0000 (0:00:00.040) 0:00:09.300 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:07:47 +0000 (0:00:00.062) 0:00:09.363 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:07:47 +0000 (0:00:00.025) 0:00:09.388 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:07:47 +0000 (0:00:00.021) 0:00:09.410 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:07:47 +0000 (0:00:00.021) 0:00:09.431 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:07:48 +0000 (0:00:01.576) 0:00:11.008 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.581) 0:00:11.590 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.040) 0:00:11.630 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.021) 0:00:11.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.020) 0:00:11.672 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.043) 0:00:11.716 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.021) 0:00:11.737 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.020) 0:00:11.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.024) 0:00:11.782 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.020) 0:00:11.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.019) 0:00:11.822 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.187) 0:00:12.009 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpnka69bdp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:07:49 +0000 (0:00:00.185) 0:00:12.194 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.229) 0:00:12.424 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.020) 0:00:12.445 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.022) 0:00:12.467 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.022) 0:00:12.489 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.042) 0:00:12.532 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.123) 0:00:12.655 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.022) 0:00:12.678 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.042) 0:00:12.720 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.035) 0:00:12.756 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.132) 0:00:12.888 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.023) 0:00:12.912 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.036) 0:00:12.948 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.021) 0:00:12.969 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706040469.9931574, "block_size": 4096, "blocks": 8, "ctime": 1706040469.9931574, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706040469.9931574, "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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.127) 0:00:13.096 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.022) 0:00:13.118 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006488", "end": "2024-01-23 20:07:50.823063", "rc": 1, "start": "2024-01-23 20:07:50.816575" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.132) 0:00:13.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:07:50 +0000 (0:00:00.045) 0:00:13.296 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003583", "end": "2024-01-23 20:07:51.001553", "rc": 0, "start": "2024-01-23 20:07:50.997970" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.136) 0:00:13.432 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.026) 0:00:13.458 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003001", "end": "2024-01-23 20:07:51.161474", "rc": 0, "start": "2024-01-23 20:07:51.158473" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.133) 0:00:13.592 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.026) 0:00:13.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.024) 0:00:13.643 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.024) 0:00:13.667 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.022) 0:00:13.690 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.020) 0:00:13.710 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.024) 0:00:13.734 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.042) 0:00:13.777 ******* 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.025439", "end": "2024-01-23 20:07:51.502278", "rc": 255, "start": "2024-01-23 20:07:51.476839" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:65 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.156) 0:00:13.934 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.035) 0:00:13.969 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.048) 0:00:14.018 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.045) 0:00:14.064 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.034) 0:00:14.098 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.033) 0:00:14.131 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003209", "end": "2024-01-23 20:07:51.833597", "rc": 0, "start": "2024-01-23 20:07:51.830388" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.131) 0:00:14.263 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.022) 0:00:14.286 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.020) 0:00:14.306 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 20:07:51 +0000 (0:00:00.038) 0:00:14.345 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:07:52 +0000 (0:00:00.035) 0:00:14.380 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:07:52 +0000 (0:00:00.040) 0:00:14.421 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:07:52 +0000 (0:00:00.025) 0:00:14.446 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:07:52 +0000 (0:00:00.042) 0:00:14.489 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:07:52 +0000 (0:00:00.021) 0:00:14.510 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:07:53 +0000 (0:00:01.538) 0:00:16.049 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.567) 0:00:16.617 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.022) 0:00:16.639 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.020) 0:00:16.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.039) 0:00:16.700 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.043) 0:00:16.744 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.021) 0:00:16.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.021) 0:00:16.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.026) 0:00:16.812 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.021) 0:00:16.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.021) 0:00:16.855 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.186) 0:00:17.042 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpotwv_2oy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:07:54 +0000 (0:00:00.186) 0:00:17.229 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.234) 0:00:17.463 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.021) 0:00:17.485 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.021) 0:00:17.506 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.022) 0:00:17.529 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.021) 0:00:17.550 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.124) 0:00:17.675 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.045) 0:00:17.720 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.038) 0:00:17.758 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.039) 0:00:17.797 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.039) 0:00:17.836 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.025) 0:00:17.862 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.020) 0:00:17.882 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:07:55 +0000 (0:00:00.019) 0:00:17.902 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:07:57 +0000 (0:00:01.514) 0:00:19.417 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.576) 0:00:19.994 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.022) 0:00:20.016 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.021) 0:00:20.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.021) 0:00:20.059 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.041) 0:00:20.100 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.021) 0:00:20.122 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.019) 0:00:20.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.023) 0:00:20.165 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.020) 0:00:20.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:07:57 +0000 (0:00:00.020) 0:00:20.207 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.189) 0:00:20.397 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpaead6eee" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.186) 0:00:20.583 ******* 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.361) 0:00:20.945 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.021) 0:00:20.966 ******* 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.022) 0:00:20.989 ******* 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.022) 0:00:21.011 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.020) 0:00:21.032 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.128) 0:00:21.160 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.042) 0:00:21.202 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 20:07:58 +0000 (0:00:00.034) 0:00:21.237 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706040478.4341574, "block_size": 4096, "blocks": 0, "ctime": 1706040478.4331574, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1706040478.4331574, "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_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.131) 0:00:21.369 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.023) 0:00:21.392 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.057) 0:00:21.450 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.021) 0:00:21.471 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706040476.5701575, "block_size": 4096, "blocks": 8, "ctime": 1706040475.0331573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706040475.0331573, "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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.131) 0:00:21.602 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.022) 0:00:21.625 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006620", "end": "2024-01-23 20:07:59.333173", "rc": 1, "start": "2024-01-23 20:07:59.326553" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.137) 0:00:21.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.023) 0:00:21.785 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003174", "end": "2024-01-23 20:07:59.493588", "rc": 0, "start": "2024-01-23 20:07:59.490414" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.140) 0:00:21.926 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.026) 0:00:21.952 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003193", "end": "2024-01-23 20:07:59.664376", "rc": 0, "start": "2024-01-23 20:07:59.661183" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.142) 0:00:22.095 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.026) 0:00:22.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.023) 0:00:22.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.024) 0:00:22.170 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.022) 0:00:22.192 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.019) 0:00:22.212 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.022) 0:00:22.234 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:07:59 +0000 (0:00:00.062) 0:00:22.296 ******* 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.028975", "end": "2024-01-23 20:08:00.027039", "rc": 0, "start": "2024-01-23 20:07:59.998064" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:83 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.166) 0:00:22.462 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.036) 0:00:22.498 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.020) 0:00:22.519 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.045) 0:00:22.564 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.034) 0:00:22.599 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.033) 0:00:22.632 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003286", "end": "2024-01-23 20:08:00.335238", "rc": 0, "start": "2024-01-23 20:08:00.331952" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.132) 0:00:22.765 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.021) 0:00:22.787 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.020) 0:00:22.807 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.039) 0:00:22.847 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.057) 0:00:22.905 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.039) 0:00:22.944 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.026) 0:00:22.970 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.021) 0:00:22.991 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:00 +0000 (0:00:00.021) 0:00:23.013 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:02 +0000 (0:00:01.649) 0:00:24.662 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:02 +0000 (0:00:00.615) 0:00:25.278 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:02 +0000 (0:00:00.022) 0:00:25.300 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:02 +0000 (0:00:00.021) 0:00:25.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:02 +0000 (0:00:00.020) 0:00:25.341 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.041) 0:00:25.383 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.020) 0:00:25.403 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.019) 0:00:25.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.025) 0:00:25.448 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.021) 0:00:25.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.019) 0:00:25.488 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.190) 0:00:25.678 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpo5qu2k8q" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.190) 0:00:25.869 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.294) 0:00:26.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.021) 0:00:26.185 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.022) 0:00:26.208 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.022) 0:00:26.230 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:03 +0000 (0:00:00.019) 0:00:26.250 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.123) 0:00:26.373 ******* 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_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.022) 0:00:26.396 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.035) 0:00:26.431 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.039) 0:00:26.471 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.025) 0:00:26.497 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.021) 0:00:26.518 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:04 +0000 (0:00:00.021) 0:00:26.540 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:05 +0000 (0:00:01.559) 0:00:28.099 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.578) 0:00:28.677 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.022) 0:00:28.700 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:28.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:28.743 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.041) 0:00:28.784 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.020) 0:00:28.805 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:28.827 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.044) 0:00:28.871 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:28.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:28.915 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.185) 0:00:29.100 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmp6jcvqj9a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:06 +0000 (0:00:00.189) 0:00:29.290 ******* 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.363) 0:00:29.654 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.020) 0:00:29.675 ******* 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.022) 0:00:29.697 ******* 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.021) 0:00:29.719 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.021) 0:00:29.740 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.130) 0:00:29.871 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.038) 0:00:29.910 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.062) 0:00:29.972 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.039) 0:00:30.011 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.026) 0:00:30.037 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.020) 0:00:30.058 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:07 +0000 (0:00:00.021) 0:00:30.079 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:09 +0000 (0:00:01.559) 0:00:31.639 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.594) 0:00:32.234 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.022) 0:00:32.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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.021) 0:00:32.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.021) 0:00:32.299 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.041) 0:00:32.340 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:09 +0000 (0:00:00.020) 0:00:32.361 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.019) 0:00:32.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.024) 0:00:32.404 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.021) 0:00:32.425 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.019) 0:00:32.445 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.189) 0:00:32.634 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpjj1823ij" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.187) 0:00:32.822 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.239) 0:00:33.061 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.020) 0:00:33.081 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.045) 0:00:33.126 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.022) 0:00:33.149 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.020) 0:00:33.169 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.124) 0:00:33.293 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 20:08:10 +0000 (0:00:00.042) 0:00:33.336 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.035) 0:00:33.371 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706040487.1511574, "block_size": 4096, "blocks": 0, "ctime": 1706040487.1501575, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1706040487.1501575, "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_fixbnn1__n0/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.129) 0:00:33.501 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.023) 0:00:33.524 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.037) 0:00:33.562 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.021) 0:00:33.583 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.128) 0:00:33.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.021) 0:00:33.733 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.007093", "end": "2024-01-23 20:08:11.441063", "rc": 1, "start": "2024-01-23 20:08:11.433970" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.158) 0:00:33.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:33.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:33.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:33.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.021) 0:00:33.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:34.003 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:34.026 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.019) 0:00:34.046 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:34.068 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.039) 0:00:34.108 ******* 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.046024", "end": "2024-01-23 20:08:11.854925", "rc": 0, "start": "2024-01-23 20:08:11.808901" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:103 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.180) 0:00:34.289 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.036) 0:00:34.325 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:34.347 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.047) 0:00:34.394 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.058) 0:00:34.453 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.033) 0:00:34.487 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003305", "end": "2024-01-23 20:08:12.193728", "rc": 0, "start": "2024-01-23 20:08:12.190423" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.135) 0:00:34.622 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.022) 0:00:34.645 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.021) 0:00:34.666 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.043) 0:00:34.709 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.035) 0:00:34.745 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.038) 0:00:34.783 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.025) 0:00:34.809 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.020) 0:00:34.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:12 +0000 (0:00:00.020) 0:00:34.850 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:14 +0000 (0:00:01.522) 0:00:36.373 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.570) 0:00:36.943 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.022) 0:00:36.966 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.020) 0:00:36.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.021) 0:00:37.008 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.043) 0:00:37.051 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.021) 0:00:37.072 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.040) 0:00:37.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.024) 0:00:37.137 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.020) 0:00:37.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:14 +0000 (0:00:00.021) 0:00:37.179 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.185) 0:00:37.365 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmp_qg4gfdp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.188) 0:00:37.553 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.236) 0:00:37.789 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.021) 0:00:37.811 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.022) 0:00:37.833 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.021) 0:00:37.855 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.020) 0:00:37.875 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.121) 0:00:37.997 ******* 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_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.022) 0:00:38.019 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.060) 0:00:38.080 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.040) 0:00:38.120 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.025) 0:00:38.146 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.021) 0:00:38.167 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:15 +0000 (0:00:00.020) 0:00:38.188 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:17 +0000 (0:00:01.499) 0:00:39.688 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:17 +0000 (0:00:00.592) 0:00:40.280 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:17 +0000 (0:00:00.022) 0:00:40.302 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:17 +0000 (0:00:00.020) 0:00:40.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:17 +0000 (0:00:00.020) 0:00:40.344 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.041) 0:00:40.386 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.021) 0:00:40.407 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.019) 0:00:40.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.023) 0:00:40.450 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.021) 0:00:40.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.019) 0:00:40.491 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.190) 0:00:40.681 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpuypgsocs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.191) 0:00:40.873 ******* 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.349) 0:00:41.222 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.046) 0:00:41.269 ******* 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.022) 0:00:41.291 ******* 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.022) 0:00:41.314 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:18 +0000 (0:00:00.020) 0:00:41.335 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.129) 0:00:41.464 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.035) 0:00:41.500 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.039) 0:00:41.539 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.025) 0:00:41.565 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.020) 0:00:41.585 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:19 +0000 (0:00:00.019) 0:00:41.605 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:20 +0000 (0:00:01.549) 0:00:43.155 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.577) 0:00:43.732 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.022) 0:00:43.754 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.021) 0:00:43.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.020) 0:00:43.797 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.043) 0:00:43.840 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.021) 0:00:43.861 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.020) 0:00:43.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.023) 0:00:43.906 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.021) 0:00:43.927 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.019) 0:00:43.947 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.210) 0:00:44.157 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpptqs3h17" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:21 +0000 (0:00:00.189) 0:00:44.346 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.234) 0:00:44.581 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.021) 0:00:44.602 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.022) 0:00:44.625 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.022) 0:00:44.647 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.021) 0:00:44.669 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.124) 0:00:44.793 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.039) 0:00:44.832 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.040) 0:00:44.872 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.039) 0:00:44.912 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.054) 0:00:44.966 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.021) 0:00:44.987 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:22 +0000 (0:00:00.021) 0:00:45.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:24 +0000 (0:00:01.534) 0:00:46.543 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.570) 0:00:47.113 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.022) 0:00:47.136 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.041) 0:00:47.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.021) 0:00:47.199 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.043) 0:00:47.243 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.021) 0:00:47.264 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.020) 0:00:47.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.024) 0:00:47.310 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.021) 0:00:47.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:24 +0000 (0:00:00.020) 0:00:47.352 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.187) 0:00:47.539 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpejlpbok2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.191) 0:00:47.731 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.238) 0:00:47.970 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.020) 0:00:47.990 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.022) 0:00:48.013 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.022) 0:00:48.035 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.020) 0:00:48.055 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.148) 0:00:48.204 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.040) 0:00:48.245 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.036) 0:00:48.281 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:08:25 +0000 (0:00:00.021) 0:00:48.303 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.129) 0:00:48.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.021) 0:00:48.454 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006587", "end": "2024-01-23 20:08:26.160778", "rc": 1, "start": "2024-01-23 20:08:26.154191" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.135) 0:00:48.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.022) 0:00:48.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.022) 0:00:48.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.022) 0:00:48.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.021) 0:00:48.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.023) 0:00:48.703 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.023) 0:00:48.726 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.023) 0:00:48.750 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.044) 0:00:48.795 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.039) 0:00:48.835 ******* 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.037519", "end": "2024-01-23 20:08:26.573001", "rc": 0, "start": "2024-01-23 20:08:26.535482" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tests_states.yml:126 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.169) 0:00:49.004 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.035) 0:00:49.040 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.022) 0:00:49.063 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.044) 0:00:49.108 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.035) 0:00:49.143 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.033) 0:00:49.177 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-01-23 20:08:26.882331", "rc": 0, "start": "2024-01-23 20:08:26.879068" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.134) 0:00:49.311 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.021) 0:00:49.332 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 20:08:26 +0000 (0:00:00.020) 0:00:49.353 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.065) 0:00:49.419 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.035) 0:00:49.455 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.038) 0:00:49.493 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.025) 0:00:49.519 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.020) 0:00:49.540 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:27 +0000 (0:00:00.021) 0:00:49.561 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:28 +0000 (0:00:01.523) 0:00:51.084 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.587) 0:00:51.672 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.022) 0:00:51.695 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.021) 0:00:51.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.021) 0:00:51.738 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.042) 0:00:51.780 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.021) 0:00:51.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.020) 0:00:51.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.025) 0:00:51.848 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.021) 0:00:51.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.019) 0:00:51.888 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.186) 0:00:52.075 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpdqggpzec" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:29 +0000 (0:00:00.188) 0:00:52.263 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.262) 0:00:52.526 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.021) 0:00:52.547 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.022) 0:00:52.570 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.023) 0:00:52.593 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.020) 0:00:52.614 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.129) 0:00:52.743 ******* 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_fixbnn1__n0/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.022) 0:00:52.766 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.034) 0:00:52.801 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.039) 0:00:52.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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.025) 0:00:52.866 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.021) 0:00:52.887 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:30 +0000 (0:00:00.020) 0:00:52.908 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:32 +0000 (0:00:01.533) 0:00:54.441 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.576) 0:00:55.017 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.022) 0:00:55.040 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.020) 0:00:55.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.022) 0:00:55.083 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.043) 0:00:55.126 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.021) 0:00:55.148 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.044) 0:00:55.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.024) 0:00:55.218 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.021) 0:00:55.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:32 +0000 (0:00:00.021) 0:00:55.261 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.185) 0:00:55.447 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmppzxfjygi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.191) 0:00:55.639 ******* 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='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.342) 0:00:55.982 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.021) 0:00:56.003 ******* 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='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.022) 0:00:56.026 ******* 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='', err=''\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='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.021) 0:00:56.048 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.021) 0:00:56.069 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.125) 0:00:56.195 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.035) 0:00:56.230 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.064) 0:00:56.295 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.026) 0:00:56.321 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:33 +0000 (0:00:00.021) 0:00:56.343 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:34 +0000 (0:00:00.021) 0:00:56.364 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:35 +0000 (0:00:01.514) 0:00:57.879 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.585) 0:00:58.464 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.023) 0:00:58.488 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.020) 0:00:58.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.020) 0:00:58.529 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.041) 0:00:58.570 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.020) 0:00:58.591 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.020) 0:00:58.611 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.024) 0:00:58.636 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.021) 0:00:58.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.019) 0:00:58.677 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.187) 0:00:58.865 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmpjb8gm5f4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.191) 0:00:59.056 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.240) 0:00:59.297 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.020) 0:00:59.318 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:36 +0000 (0:00:00.022) 0:00:59.341 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.048) 0:00:59.389 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.021) 0:00:59.410 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.128) 0:00:59.539 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.038) 0:00:59.578 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.035) 0:00:59.613 ******* included: /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.040) 0:00:59.653 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.026) 0:00:59.680 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.020) 0:00:59.700 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 20:08:37 +0000 (0:00:00.020) 0:00:59.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 20:08:38 +0000 (0:00:01.505) 0:01:01.226 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.576) 0:01:01.803 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.022) 0:01:01.825 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.021) 0:01:01.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.020) 0:01:01.868 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.042) 0:01:01.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.021) 0:01:01.931 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.020) 0:01:01.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.025) 0:01:01.978 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.021) 0:01:02.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.019) 0:01:02.019 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 20:08:39 +0000 (0:00:00.210) 0:01:02.230 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15362u3eo0b4l/tmptzzcdy75" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.188) 0:01:02.418 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.234) 0:01:02.653 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.021) 0:01:02.675 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.022) 0:01:02.697 ******* 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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.022) 0:01:02.720 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.019) 0:01:02.740 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.123) 0:01:02.863 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.042) 0:01:02.906 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.036) 0:01:02.942 ******* 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.020) 0:01:02.963 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.128) 0:01:03.092 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.045) 0:01:03.137 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006664", "end": "2024-01-23 20:08:40.848070", "rc": 1, "start": "2024-01-23 20:08:40.841406" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.138) 0:01:03.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.022) 0:01:03.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.023) 0:01:03.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 20:08:40 +0000 (0:00:00.022) 0:01:03.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.021) 0:01:03.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.023) 0:01:03.391 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.023) 0:01:03.415 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.391834", "end": "2024-01-23 20:08:41.511515", "rc": 0, "start": "2024-01-23 20:08:41.119681" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.530) 0:01:03.945 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.022) 0:01:03.968 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.021) 0:01:03.989 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.024) 0:01:04.014 ******* 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_fixbnn1__n0/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.020) 0:01:04.034 ******* included: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixbnn1__n0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.064) 0:01:04.098 ******* 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.038074", "end": "2024-01-23 20:08:41.847921", "rc": 0, "start": "2024-01-23 20:08:41.809847" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Tuesday 23 January 2024 20:08:41 +0000 (0:00:00.169) 0:01:04.268 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.86s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ci_fixbnn1__n0/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_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-ci_fixbnn1__n0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-ci_fixbnn1__n0/tests/tests_states_initscripts.yml:5 -------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---