# 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_bridge_nm.yml ************************************************** 11 plays in /WORKDIR/git-weekly-ciec_t0s45/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tests_bridge_nm.yml:6 Friday 29 March 2024 01:41:38 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tests_bridge_nm.yml:9 Friday 29 March 2024 01:41:39 +0000 (0:00:00.952) 0:00:00.964 ********** included: /WORKDIR/git-weekly-ciec_t0s45/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-weekly-ciec_t0s45/tests/tasks/el_repo_setup.yml:3 Friday 29 March 2024 01:41:39 +0000 (0:00:00.010) 0:00:00.975 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/el_repo_setup.yml:19 Friday 29 March 2024 01:41:40 +0000 (0:00:00.506) 0:00:01.482 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/el_repo_setup.yml:24 Friday 29 March 2024 01:41:40 +0000 (0:00:00.252) 0:00:01.734 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/el_repo_setup.yml:28 Friday 29 March 2024 01:41:40 +0000 (0:00:00.021) 0:00:01.755 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/el_repo_setup.yml:53 Friday 29 March 2024 01:41:40 +0000 (0:00:00.018) 0:00:01.774 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml:8 Friday 29 March 2024 01:41:40 +0000 (0:00:00.033) 0:00:01.807 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml:24 Friday 29 March 2024 01:41:40 +0000 (0:00:00.010) 0:00:01.818 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml:30 Friday 29 March 2024 01:41:40 +0000 (0:00:00.009) 0:00:01.827 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml:35 Friday 29 March 2024 01:41:40 +0000 (0:00:00.009) 0:00:01.837 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tasks/enable_epel.yml:40 Friday 29 March 2024 01:41:40 +0000 (0:00:00.009) 0:00:01.846 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/tests_bridge_nm.yml:11 Friday 29 March 2024 01:41:40 +0000 (0:00:00.009) 0:00:01.856 ********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:3 Friday 29 March 2024 01:41:40 +0000 (0:00:00.010) 0:00:01.867 ********** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:9 Friday 29 March 2024 01:41:41 +0000 (0:00:00.756) 0:00:02.623 ********** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:12 Friday 29 March 2024 01:41:41 +0000 (0:00:00.010) 0:00:02.634 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/show_interfaces.yml:3 Friday 29 March 2024 01:41:41 +0000 (0:00:00.011) 0:00:02.645 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 29 March 2024 01:41:41 +0000 (0:00:00.011) 0:00:02.657 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004564", "end": "2024-03-29 01:41:42.537982", "rc": 0, "start": "2024-03-29 01:41:41.533418" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 29 March 2024 01:41:42 +0000 (0:00:01.272) 0:00:03.929 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/show_interfaces.yml:5 Friday 29 March 2024 01:41:42 +0000 (0:00:00.012) 0:00:03.942 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:14 Friday 29 March 2024 01:41:42 +0000 (0:00:00.010) 0:00:03.953 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 29 March 2024 01:41:42 +0000 (0:00:00.012) 0:00:03.965 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 March 2024 01:41:42 +0000 (0:00:00.012) 0:00:03.978 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 29 March 2024 01:41:42 +0000 (0:00:00.194) 0:00:04.172 ********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:17 Friday 29 March 2024 01:41:42 +0000 (0:00:00.015) 0:00:04.188 ********** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 March 2024 01:41:43 +0000 (0:00:00.753) 0:00:04.941 ********** included: /WORKDIR/git-weekly-ciec_t0s45/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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 March 2024 01:41:43 +0000 (0:00:00.015) 0:00:04.956 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 March 2024 01:41:43 +0000 (0:00:00.010) 0:00:04.967 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 March 2024 01:41:43 +0000 (0:00:00.009) 0:00:04.977 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 March 2024 01:41:43 +0000 (0:00:00.009) 0:00:04.986 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 March 2024 01:41:45 +0000 (0:00:02.189) 0:00:07.175 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 March 2024 01:41:46 +0000 (0:00:01.070) 0:00:08.246 ********** ok: [sut] => {} MSG: Using network provider: nm 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 March 2024 01:41:46 +0000 (0:00:00.024) 0:00:08.270 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 March 2024 01:41:46 +0000 (0:00:00.022) 0:00:08.293 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 29 March 2024 01:41:46 +0000 (0:00:00.021) 0:00:08.315 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 29 March 2024 01:41:46 +0000 (0:00:00.028) 0:00:08.343 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 29 March 2024 01:41:46 +0000 (0:00:00.023) 0:00:08.367 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 29 March 2024 01:41:47 +0000 (0:00:00.030) 0:00:08.398 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 29 March 2024 01:41:47 +0000 (0:00:00.057) 0:00:08.456 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 March 2024 01:41:47 +0000 (0:00:00.022) 0:00:08.479 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 March 2024 01:41:47 +0000 (0:00:00.022) 0:00:08.501 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 29 March 2024 01:41:47 +0000 (0:00:00.027) 0:00:08.529 ********** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 29 March 2024 01:41:47 +0000 (0:00:00.685) 0:00:09.214 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 29 March 2024 01:41:47 +0000 (0:00:00.048) 0:00:09.262 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 29 March 2024 01:41:47 +0000 (0:00:00.021) 0:00:09.284 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 29 March 2024 01:41:47 +0000 (0:00:00.021) 0:00:09.306 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 29 March 2024 01:41:48 +0000 (0:00:00.545) 0:00:09.851 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 29 March 2024 01:41:48 +0000 (0:00:00.022) 0:00:09.874 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 29 March 2024 01:41:48 +0000 (0:00:00.023) 0:00:09.897 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 7cf5e027-e934-48ff-a25e-82ae03ef40fa (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 29 March 2024 01:41:48 +0000 (0:00:00.024) 0:00:09.922 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 29 March 2024 01:41:48 +0000 (0:00:00.022) 0:00:09.944 ********** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 Friday 29 March 2024 01:41:48 +0000 (0:00:00.290) 0:00:10.234 ********** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:6 Friday 29 March 2024 01:41:49 +0000 (0:00:00.769) 0:00:11.003 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_present.yml:3 Friday 29 March 2024 01:41:49 +0000 (0:00:00.062) 0:00:11.066 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 March 2024 01:41:49 +0000 (0:00:00.043) 0:00:11.109 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711676508.3701677, "block_size": 4096, "blocks": 0, "ctime": 1711676508.3701677, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1711676508.3701677, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_present.yml:5 Friday 29 March 2024 01:41:49 +0000 (0:00:00.239) 0:00:11.349 ********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 Friday 29 March 2024 01:41:50 +0000 (0:00:00.030) 0:00:11.379 ********** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:6 Friday 29 March 2024 01:41:50 +0000 (0:00:00.767) 0:00:12.147 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 29 March 2024 01:41:50 +0000 (0:00:00.037) 0:00:12.185 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 March 2024 01:41:50 +0000 (0:00:00.041) 0:00:12.226 ********** 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-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 March 2024 01:41:50 +0000 (0:00:00.025) 0:00:12.252 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 March 2024 01:41:51 +0000 (0:00:00.232) 0:00:12.485 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 March 2024 01:41:51 +0000 (0:00:00.023) 0:00:12.509 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.021105", "end": "2024-03-29 01:41:51.336472", "rc": 0, "start": "2024-03-29 01:41:51.315367" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 March 2024 01:41:51 +0000 (0:00:00.231) 0:00:12.741 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 March 2024 01:41:51 +0000 (0:00:00.025) 0:00:12.766 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 March 2024 01:41:51 +0000 (0:00:00.023) 0:00:12.790 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 March 2024 01:41:51 +0000 (0:00:00.025) 0:00:12.816 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 March 2024 01:41:51 +0000 (0:00:00.025) 0:00:12.841 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 29 March 2024 01:41:51 +0000 (0:00:00.025) 0:00:12.866 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 29 March 2024 01:41:51 +0000 (0:00:00.026) 0:00:12.893 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 29 March 2024 01:41:51 +0000 (0:00:00.026) 0:00:12.919 ********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/down_profile.yml:3 Friday 29 March 2024 01:41:51 +0000 (0:00:00.033) 0:00:12.952 ********** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 March 2024 01:41:52 +0000 (0:00:00.780) 0:00:13.733 ********** included: /WORKDIR/git-weekly-ciec_t0s45/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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 March 2024 01:41:52 +0000 (0:00:00.062) 0:00:13.795 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 March 2024 01:41:52 +0000 (0:00:00.028) 0:00:13.824 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 March 2024 01:41:52 +0000 (0:00:00.024) 0:00:13.848 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 March 2024 01:41:52 +0000 (0:00:00.023) 0:00:13.872 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 March 2024 01:41:54 +0000 (0:00:02.138) 0:00:16.010 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 March 2024 01:41:55 +0000 (0:00:00.928) 0:00:16.938 ********** ok: [sut] => {} MSG: Using network provider: nm 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 March 2024 01:41:55 +0000 (0:00:00.025) 0:00:16.963 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 March 2024 01:41:55 +0000 (0:00:00.023) 0:00:16.987 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 29 March 2024 01:41:55 +0000 (0:00:00.023) 0:00:17.010 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 29 March 2024 01:41:55 +0000 (0:00:00.028) 0:00:17.039 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 29 March 2024 01:41:55 +0000 (0:00:00.022) 0:00:17.062 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 29 March 2024 01:41:55 +0000 (0:00:00.026) 0:00:17.088 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 29 March 2024 01:41:55 +0000 (0:00:00.046) 0:00:17.134 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 March 2024 01:41:55 +0000 (0:00:00.023) 0:00:17.158 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 March 2024 01:41:55 +0000 (0:00:00.024) 0:00:17.183 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 29 March 2024 01:41:55 +0000 (0:00:00.027) 0:00:17.210 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 29 March 2024 01:41:56 +0000 (0:00:00.558) 0:00:17.768 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 29 March 2024 01:41:56 +0000 (0:00:00.027) 0:00:17.796 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 29 March 2024 01:41:56 +0000 (0:00:00.023) 0:00:17.819 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 29 March 2024 01:41:56 +0000 (0:00:00.024) 0:00:17.843 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 29 March 2024 01:41:56 +0000 (0:00:00.415) 0:00:18.259 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 29 March 2024 01:41:56 +0000 (0:00:00.024) 0:00:18.283 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 29 March 2024 01:41:56 +0000 (0:00:00.036) 0:00:18.320 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 29 March 2024 01:41:56 +0000 (0:00:00.025) 0:00:18.345 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 29 March 2024 01:41:57 +0000 (0:00:00.044) 0:00:18.390 ********** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/down_profile+delete_interface.yml:5 Friday 29 March 2024 01:41:57 +0000 (0:00:00.224) 0:00:18.614 ********** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/down_profile+delete_interface.yml:8 Friday 29 March 2024 01:41:58 +0000 (0:00:00.786) 0:00:19.401 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/delete_interface.yml:3 Friday 29 March 2024 01:41:58 +0000 (0:00:00.035) 0:00:19.437 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007852", "end": "2024-03-29 01:41:58.251544", "rc": 1, "start": "2024-03-29 01:41:58.243692" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/remove_profile.yml:3 Friday 29 March 2024 01:41:58 +0000 (0:00:00.224) 0:00:19.661 ********** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 29 March 2024 01:41:59 +0000 (0:00:00.767) 0:00:20.429 ********** included: /WORKDIR/git-weekly-ciec_t0s45/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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 29 March 2024 01:41:59 +0000 (0:00:00.042) 0:00:20.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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 29 March 2024 01:41:59 +0000 (0:00:00.030) 0:00:20.501 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 29 March 2024 01:41:59 +0000 (0:00:00.022) 0:00:20.524 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 29 March 2024 01:41:59 +0000 (0:00:00.023) 0:00:20.547 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 29 March 2024 01:42:01 +0000 (0:00:02.123) 0:00:22.671 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 29 March 2024 01:42:02 +0000 (0:00:00.907) 0:00:23.578 ********** ok: [sut] => {} MSG: Using network provider: nm 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 29 March 2024 01:42:02 +0000 (0:00:00.025) 0:00:23.603 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 29 March 2024 01:42:02 +0000 (0:00:00.023) 0:00:23.626 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 29 March 2024 01:42:02 +0000 (0:00:00.045) 0:00:23.672 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 29 March 2024 01:42:02 +0000 (0:00:00.029) 0:00:23.702 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 29 March 2024 01:42:02 +0000 (0:00:00.024) 0:00:23.726 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 29 March 2024 01:42:02 +0000 (0:00:00.028) 0:00:23.754 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 29 March 2024 01:42:02 +0000 (0:00:00.047) 0:00:23.801 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 29 March 2024 01:42:02 +0000 (0:00:00.023) 0:00:23.825 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 29 March 2024 01:42:02 +0000 (0:00:00.022) 0:00:23.847 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 29 March 2024 01:42:02 +0000 (0:00:00.027) 0:00:23.875 ********** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 29 March 2024 01:42:03 +0000 (0:00:00.554) 0:00:24.429 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 29 March 2024 01:42:03 +0000 (0:00:00.036) 0:00:24.466 ********** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 29 March 2024 01:42:03 +0000 (0:00:00.023) 0:00:24.489 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 29 March 2024 01:42:03 +0000 (0:00:00.022) 0:00:24.512 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 29 March 2024 01:42:03 +0000 (0:00:00.461) 0:00:24.973 ********** 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-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 29 March 2024 01:42:03 +0000 (0:00:00.023) 0:00:24.997 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 29 March 2024 01:42:03 +0000 (0:00:00.026) 0:00:25.023 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 29 March 2024 01:42:03 +0000 (0:00:00.028) 0:00:25.051 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 29 March 2024 01:42:03 +0000 (0:00:00.022) 0:00:25.074 ********** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 Friday 29 March 2024 01:42:03 +0000 (0:00:00.208) 0:00:25.282 ********** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:6 Friday 29 March 2024 01:42:04 +0000 (0:00:00.759) 0:00:26.042 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 29 March 2024 01:42:04 +0000 (0:00:00.043) 0:00:26.086 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 29 March 2024 01:42:04 +0000 (0:00:00.044) 0:00:26.131 ********** 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-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 29 March 2024 01:42:04 +0000 (0:00:00.027) 0:00:26.158 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 29 March 2024 01:42:05 +0000 (0:00:00.237) 0:00:26.395 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 29 March 2024 01:42:05 +0000 (0:00:00.024) 0:00:26.420 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020118", "end": "2024-03-29 01:42:05.245686", "rc": 1, "start": "2024-03-29 01:42:05.225568" } 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-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 29 March 2024 01:42:05 +0000 (0:00:00.232) 0:00:26.652 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 29 March 2024 01:42:05 +0000 (0:00:00.028) 0:00:26.681 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 29 March 2024 01:42:05 +0000 (0:00:00.032) 0:00:26.713 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 29 March 2024 01:42:05 +0000 (0:00:00.025) 0:00:26.739 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 29 March 2024 01:42:05 +0000 (0:00:00.025) 0:00:26.764 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 29 March 2024 01:42:05 +0000 (0:00:00.025) 0:00:26.790 ********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 Friday 29 March 2024 01:42:05 +0000 (0:00:00.029) 0:00:26.819 ********** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:6 Friday 29 March 2024 01:42:06 +0000 (0:00:00.769) 0:00:27.588 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 29 March 2024 01:42:06 +0000 (0:00:00.036) 0:00:27.625 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 29 March 2024 01:42:06 +0000 (0:00:00.063) 0:00:27.688 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 29 March 2024 01:42:06 +0000 (0:00:00.208) 0:00:27.897 ********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:64 Friday 29 March 2024 01:42:06 +0000 (0:00:00.029) 0:00:27.926 ********** ok: [sut] META: ran handlers TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:67 Friday 29 March 2024 01:42:07 +0000 (0:00:00.767) 0:00:28.693 ********** included: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/check_network_dns.yml:6 Friday 29 March 2024 01:42:07 +0000 (0:00:00.037) 0:00:28.730 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009044", "end": "2024-03-29 01:42:07.545643", "rc": 0, "start": "2024-03-29 01:42:07.536599" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 12:7f:14:18:e9:17 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.48/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3351sec preferred_lft 3351sec inet6 fe80::107f:14ff:fe18:e917/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.48 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.48 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/check_network_dns.yml:24 Friday 29 March 2024 01:42:07 +0000 (0:00:00.218) 0:00:28.948 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=81 changed=3 unreachable=0 failed=0 skipped=69 rescued=0 ignored=2 Friday 29 March 2024 01:42:07 +0000 (0:00:00.013) 0:00:28.962 ********** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.27s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-weekly-ciec_t0s45/tests/tests_bridge_nm.yml:6 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/down_profile.yml:3 ------------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/remove_profile.yml:3 ----------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:64 ------------ Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/run_tasks.yml:3 ---------------- Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:3 ------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ciec_t0s45/tests/playbooks/tests_bridge.yml:17 ------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-weekly-ciec_t0s45/tests/roles/linux-system-roles.network/tasks/main.yml:136 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---