# 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-bond_options_rewritef0amzx4l/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tests_bridge_nm.yml:6 Tuesday 13 February 2024 23:59:34 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tests_bridge_nm.yml:9 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.720) 0:00:00.733 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.013) 0:00:00.747 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.369) 0:00:01.116 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.255) 0:00:01.371 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.053) 0:00:01.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.021) 0:00:01.447 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.035) 0:00:01.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.010) 0:00:01.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.010) 0:00:01.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.010) 0:00:01.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.009) 0:00:01.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tests_bridge_nm.yml:11 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.011) 0:00:01.535 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:3 Tuesday 13 February 2024 23:59:35 +0000 (0:00:00.011) 0:00:01.546 ****** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:9 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.516) 0:00:02.062 ****** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:12 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.019) 0:00:02.081 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.013) 0:00:02.095 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.023) 0:00:02.119 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003233", "end": "2024-02-13 23:59:36.739729", "rc": 0, "start": "2024-02-13 23:59:36.736496" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.244) 0:00:02.363 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.012) 0:00:02.376 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:14 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.019) 0:00:02.395 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.012) 0:00:02.408 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 23:59:36 +0000 (0:00:00.013) 0:00:02.421 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.182) 0:00:02.603 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:17 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.017) 0:00:02.620 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.482) 0:00:03.103 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.066) 0:00:03.170 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.015) 0:00:03.185 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.009) 0:00:03.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 23:59:37 +0000 (0:00:00.009) 0:00:03.205 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 23:59:39 +0000 (0:00:01.459) 0:00:04.665 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 23:59:40 +0000 (0:00:01.162) 0:00:05.827 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.024) 0:00:05.851 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.022) 0:00:05.874 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.022) 0:00:05.897 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.054) 0:00:05.951 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.022) 0:00:05.974 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.030) 0:00:06.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.029) 0:00:06.034 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.485) 0:00:06.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.037) 0:00:06.556 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 23:59:40 +0000 (0:00:00.027) 0:00:06.583 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.023) 0:00:06.607 ****** 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, 608fc556-696a-437b-a1c5-4d1dc06740ca [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.544) 0:00:07.152 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.033) 0:00:07.186 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.040) 0:00:07.226 ****** 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, 608fc556-696a-437b-a1c5-4d1dc06740ca\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 608fc556-696a-437b-a1c5-4d1dc06740ca (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.079) 0:00:07.306 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 23:59:41 +0000 (0:00:00.056) 0:00:07.363 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.290) 0:00:07.653 ****** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:6 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.543) 0:00:08.196 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.049) 0:00:08.246 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.037) 0:00:08.283 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707868781.4169593, "block_size": 4096, "blocks": 0, "ctime": 1707868781.4169593, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27989, "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": 1707868781.4169593, "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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.222) 0:00:08.505 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 Tuesday 13 February 2024 23:59:42 +0000 (0:00:00.031) 0:00:08.537 ****** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:6 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.528) 0:00:09.066 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.066) 0:00:09.132 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.049) 0:00:09.182 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.028) 0:00:09.210 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.212) 0:00:09.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 23:59:43 +0000 (0:00:00.024) 0:00:09.447 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020571", "end": "2024-02-13 23:59:44.041389", "rc": 0, "start": "2024-02-13 23:59:44.020818" } 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.224) 0:00:09.671 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.024) 0:00:09.695 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.023) 0:00:09.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.024) 0:00:09.743 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.024) 0:00:09.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.023) 0:00:09.792 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.026) 0:00:09.818 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.024) 0:00:09.843 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/down_profile.yml:3 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.029) 0:00:09.873 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.521) 0:00:10.394 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.036) 0:00:10.430 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.026) 0:00:10.457 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.022) 0:00:10.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 23:59:44 +0000 (0:00:00.022) 0:00:10.501 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 23:59:46 +0000 (0:00:01.393) 0:00:11.895 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.981) 0:00:12.877 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.032) 0:00:12.909 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.023) 0:00:12.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.042) 0:00:12.975 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.082) 0:00:13.058 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.039) 0:00:13.098 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.039) 0:00:13.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.030) 0:00:13.168 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.351) 0:00:13.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.029) 0:00:13.548 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.024) 0:00:13.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 23:59:47 +0000 (0:00:00.024) 0:00:13.598 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.392) 0:00:13.990 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.023) 0:00:14.014 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.061) 0:00:14.075 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.024) 0:00:14.100 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.024) 0:00:14.125 ****** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/down_profile+delete_interface.yml:5 Tuesday 13 February 2024 23:59:48 +0000 (0:00:00.192) 0:00:14.318 ****** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/down_profile+delete_interface.yml:8 Tuesday 13 February 2024 23:59:49 +0000 (0:00:00.498) 0:00:14.816 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 23:59:49 +0000 (0:00:00.034) 0:00:14.851 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007862", "end": "2024-02-13 23:59:49.423202", "rc": 1, "start": "2024-02-13 23:59:49.415340" } 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-bond_options_rewritef0amzx4l/tests/playbooks/remove_profile.yml:3 Tuesday 13 February 2024 23:59:49 +0000 (0:00:00.216) 0:00:15.067 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 23:59:49 +0000 (0:00:00.499) 0:00:15.567 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 23:59:50 +0000 (0:00:00.057) 0:00:15.625 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 23:59:50 +0000 (0:00:00.029) 0:00:15.654 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 23:59:50 +0000 (0:00:00.055) 0:00:15.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 23:59:50 +0000 (0:00:00.042) 0:00:15.752 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 23:59:51 +0000 (0:00:01.421) 0:00:17.173 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.938) 0:00:18.112 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.023) 0:00:18.135 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.023) 0:00:18.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.045) 0:00:18.204 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.044) 0:00:18.248 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.024) 0:00:18.272 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.029) 0:00:18.302 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 23:59:52 +0000 (0:00:00.029) 0:00:18.331 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.377) 0:00:18.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.026) 0:00:18.736 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.023) 0:00:18.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.021) 0:00:18.780 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.368) 0:00:19.149 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.041) 0:00:19.191 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.028) 0:00:19.220 ****** 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-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.023) 0:00:19.244 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.021) 0:00:19.266 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 Tuesday 13 February 2024 23:59:53 +0000 (0:00:00.192) 0:00:19.458 ****** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:6 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.494) 0:00:19.953 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.035) 0:00:19.988 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.036) 0:00:20.025 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.022) 0:00:20.048 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.193) 0:00:20.241 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.022) 0:00:20.264 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018394", "end": "2024-02-13 23:59:54.851946", "rc": 1, "start": "2024-02-13 23:59:54.833552" } 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.217) 0:00:20.481 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.022) 0:00:20.504 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.023) 0:00:20.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.022) 0:00:20.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.021) 0:00:20.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 23:59:54 +0000 (0:00:00.023) 0:00:20.595 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.027) 0:00:20.622 ****** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:6 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.509) 0:00:21.132 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.034) 0:00:21.166 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.036) 0:00:21.203 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.191) 0:00:21.394 ****** 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-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:64 Tuesday 13 February 2024 23:59:55 +0000 (0:00:00.026) 0:00:21.421 ****** ok: [sut] META: ran handlers TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:67 Tuesday 13 February 2024 23:59:56 +0000 (0:00:00.490) 0:00:21.912 ****** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 23:59:56 +0000 (0:00:00.040) 0:00:21.952 ****** 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.008272", "end": "2024-02-13 23:59:56.522898", "rc": 0, "start": "2024-02-13 23:59:56.514626" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:07:46:d4:d2:53 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.90/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3449sec preferred_lft 3449sec inet6 fe80::7:46ff:fed4:d253/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.90 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.90 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 23:59:56 +0000 (0:00:00.199) 0:00:22.152 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.168008", "end": "2024-02-13 23:59:56.889260", "rc": 0, "start": "2024-02-13 23:59:56.721252" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2990 0 --:--:-- --:--:-- --:--:-- 3019 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6767 0 --:--:-- --:--:-- --:--:-- 6767 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=82 changed=3 unreachable=0 failed=0 skipped=59 rescued=0 ignored=2 Tuesday 13 February 2024 23:59:56 +0000 (0:00:00.361) 0:00:22.514 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tests_bridge_nm.yml:6 --------- linux-system-roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/down_profile.yml:3 -- Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:3 -- Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:64 - linux-system-roles.network : Enable and start NetworkManager ------------ 0.49s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_bridge.yml:17 - linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---