# 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_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-tft-testsgbd2_0in/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_auto_gateway_nm.yml:6 Monday 17 June 2024 14:43:37 +0000 (0:00:00.011) 0:00:00.011 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_auto_gateway_nm.yml:9 Monday 17 June 2024 14:43:38 +0000 (0:00:00.690) 0:00:00.701 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:43:38 +0000 (0:00:00.011) 0:00:00.713 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:43:38 +0000 (0:00:00.344) 0:00:01.057 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:43:38 +0000 (0:00:00.237) 0:00:01.295 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:43:38 +0000 (0:00:00.019) 0:00:01.315 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:43:38 +0000 (0:00:00.017) 0:00:01.333 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:43:38 +0000 (0:00:00.030) 0:00:01.363 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:43:38 +0000 (0:00:00.009) 0:00:01.373 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:43:38 +0000 (0:00:00.009) 0:00:01.382 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:43:38 +0000 (0:00:00.009) 0:00:01.391 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:43:38 +0000 (0:00:00.009) 0:00:01.400 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_auto_gateway_nm.yml:11 Monday 17 June 2024 14:43:38 +0000 (0:00:00.009) 0:00:01.409 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:3 Monday 17 June 2024 14:43:38 +0000 (0:00:00.010) 0:00:01.420 *********** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:9 Monday 17 June 2024 14:43:39 +0000 (0:00:00.489) 0:00:01.910 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:43:39 +0000 (0:00:00.023) 0:00:01.933 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:43:39 +0000 (0:00:00.011) 0:00:01.945 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003260", "end": "2024-06-17 14:43:39.505629", "rc": 0, "start": "2024-06-17 14:43:39.502369" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:43:39 +0000 (0:00:00.232) 0:00:02.178 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:43:39 +0000 (0:00:00.012) 0:00:02.191 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:11 Monday 17 June 2024 14:43:39 +0000 (0:00:00.017) 0:00:02.209 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:43:39 +0000 (0:00:00.031) 0:00:02.241 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:43:39 +0000 (0:00:00.011) 0:00:02.252 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:43:39 +0000 (0:00:00.009) 0:00:02.261 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:43:39 +0000 (0:00:00.012) 0:00:02.274 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:43:39 +0000 (0:00:00.011) 0:00:02.286 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2024-06-17 14:43:39.798579", "rc": 0, "start": "2024-06-17 14:43:39.795260" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:43:39 +0000 (0:00:00.185) 0:00:02.471 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:43:39 +0000 (0:00:00.010) 0:00:02.482 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:43:39 +0000 (0:00:00.009) 0:00:02.491 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:43:41 +0000 (0:00:02.020) 0:00:04.512 *********** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.018714", "end": "2024-06-17 14:43:42.045542", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-06-17 14:43:42.026828" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003567", "end": "2024-06-17 14:43:42.264273", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-06-17 14:43:42.260706" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003823", "end": "2024-06-17 14:43:42.448898", "item": "ip link set veth0 up", "rc": 0, "start": "2024-06-17 14:43:42.445075" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:43:42 +0000 (0:00:00.629) 0:00:05.141 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.128165", "end": "2024-06-17 14:43:42.785945", "rc": 0, "start": "2024-06-17 14:43:42.657780" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:43:42 +0000 (0:00:00.319) 0:00:05.460 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:43:42 +0000 (0:00:00.012) 0:00:05.472 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:43:42 +0000 (0:00:00.011) 0:00:05.484 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:43:42 +0000 (0:00:00.010) 0:00:05.494 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:43:42 +0000 (0:00:00.010) 0:00:05.504 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:15 Monday 17 June 2024 14:43:42 +0000 (0:00:00.010) 0:00:05.515 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:43:42 +0000 (0:00:00.028) 0:00:05.544 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:43:42 +0000 (0:00:00.014) 0:00:05.558 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635422.0390778, "block_size": 4096, "blocks": 0, "ctime": 1718635422.0390778, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23232, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1718635422.0390778, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:43:43 +0000 (0:00:00.183) 0:00:05.741 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:17 Monday 17 June 2024 14:43:43 +0000 (0:00:00.013) 0:00:05.755 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:43:43 +0000 (0:00:00.011) 0:00:05.767 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:43:43 +0000 (0:00:00.017) 0:00:05.785 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:43:43 +0000 (0:00:00.013) 0:00:05.799 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:43:43 +0000 (0:00:00.011) 0:00:05.810 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:43:43 +0000 (0:00:00.010) 0:00:05.821 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:43:44 +0000 (0:00:01.518) 0:00:07.339 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:43:45 +0000 (0:00:00.794) 0:00:08.133 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:43:45 +0000 (0:00:00.045) 0:00:08.178 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:43:45 +0000 (0:00:00.024) 0:00:08.203 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:43:45 +0000 (0:00:00.023) 0:00:08.226 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:43:45 +0000 (0:00:00.026) 0:00:08.253 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:43:45 +0000 (0:00:00.020) 0:00:08.273 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:43:45 +0000 (0:00:00.024) 0:00:08.298 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:43:45 +0000 (0:00:00.044) 0:00:08.342 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:43:45 +0000 (0:00:00.020) 0:00:08.363 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:43:45 +0000 (0:00:00.021) 0:00:08.384 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:43:45 +0000 (0:00:00.025) 0:00:08.410 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:43:46 +0000 (0:00:00.502) 0:00:08.913 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:43:46 +0000 (0:00:00.026) 0:00:08.939 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:43:46 +0000 (0:00:00.021) 0:00:08.961 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:43:46 +0000 (0:00:00.036) 0:00:08.998 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4d4e392-5692-4287-9157-ad308aab7493 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4d4e392-5692-4287-9157-ad308aab7493 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:43:47 +0000 (0:00:00.810) 0:00:09.808 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:43:47 +0000 (0:00:00.022) 0:00:09.830 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4d4e392-5692-4287-9157-ad308aab7493", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4d4e392-5692-4287-9157-ad308aab7493 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:43:47 +0000 (0:00:00.022) 0:00:09.853 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4d4e392-5692-4287-9157-ad308aab7493\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4d4e392-5692-4287-9157-ad308aab7493 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4d4e392-5692-4287-9157-ad308aab7493", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4d4e392-5692-4287-9157-ad308aab7493 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:43:47 +0000 (0:00:00.024) 0:00:09.877 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:43:47 +0000 (0:00:00.020) 0:00:09.898 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:42 Monday 17 June 2024 14:43:47 +0000 (0:00:00.241) 0:00:10.139 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:43:47 +0000 (0:00:00.050) 0:00:10.189 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:43:47 +0000 (0:00:00.035) 0:00:10.225 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635422.0390778, "block_size": 4096, "blocks": 0, "ctime": 1718635422.0390778, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23232, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1718635422.0390778, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:43:47 +0000 (0:00:00.203) 0:00:10.429 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:44 Monday 17 June 2024 14:43:47 +0000 (0:00:00.023) 0:00:10.452 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:43:47 +0000 (0:00:00.049) 0:00:10.502 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:43:47 +0000 (0:00:00.072) 0:00:10.575 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:43:47 +0000 (0:00:00.023) 0:00:10.598 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:43:48 +0000 (0:00:00.192) 0:00:10.791 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:43:48 +0000 (0:00:00.023) 0:00:10.814 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.134598", "end": "2024-06-17 14:43:48.461813", "rc": 0, "start": "2024-06-17 14:43:48.327215" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:43:48 +0000 (0:00:00.331) 0:00:11.146 *********** 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-veth0] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:43:48 +0000 (0:00:00.024) 0:00:11.170 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:43:48 +0000 (0:00:00.022) 0:00:11.193 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:43:48 +0000 (0:00:00.022) 0:00:11.216 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:43:48 +0000 (0:00:00.027) 0:00:11.243 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:43:48 +0000 (0:00:00.023) 0:00:11.266 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:43:48 +0000 (0:00:00.023) 0:00:11.290 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:43:48 +0000 (0:00:00.022) 0:00:11.312 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:48 Monday 17 June 2024 14:43:48 +0000 (0:00:00.021) 0:00:11.334 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004064", "end": "2024-06-17 14:43:48.852789", "rc": 0, "start": "2024-06-17 14:43:48.848725" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.205 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.205 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:52 Monday 17 June 2024 14:43:48 +0000 (0:00:00.202) 0:00:11.537 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:58 Monday 17 June 2024 14:43:48 +0000 (0:00:00.025) 0:00:11.562 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003549", "end": "2024-06-17 14:43:49.079182", "rc": 0, "start": "2024-06-17 14:43:49.075633" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:62 Monday 17 June 2024 14:43:49 +0000 (0:00:00.198) 0:00:11.761 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:69 Monday 17 June 2024 14:43:49 +0000 (0:00:00.025) 0:00:11.786 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:43:49 +0000 (0:00:00.021) 0:00:11.808 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:43:49 +0000 (0:00:00.039) 0:00:11.848 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:43:49 +0000 (0:00:00.027) 0:00:11.876 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:43:49 +0000 (0:00:00.024) 0:00:11.900 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:43:49 +0000 (0:00:00.037) 0:00:11.938 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:43:50 +0000 (0:00:01.464) 0:00:13.402 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:43:51 +0000 (0:00:00.682) 0:00:14.084 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:43:51 +0000 (0:00:00.023) 0:00:14.108 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:43:51 +0000 (0:00:00.022) 0:00:14.130 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:43:51 +0000 (0:00:00.021) 0:00:14.151 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:43:51 +0000 (0:00:00.024) 0:00:14.176 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:43:51 +0000 (0:00:00.022) 0:00:14.199 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:43:51 +0000 (0:00:00.027) 0:00:14.226 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:43:51 +0000 (0:00:00.046) 0:00:14.273 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:43:51 +0000 (0:00:00.039) 0:00:14.313 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:43:51 +0000 (0:00:00.022) 0:00:14.335 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:43:51 +0000 (0:00:00.026) 0:00:14.362 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:43:52 +0000 (0:00:00.356) 0:00:14.718 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:43:52 +0000 (0:00:00.024) 0:00:14.743 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:43:52 +0000 (0:00:00.053) 0:00:14.797 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:43:52 +0000 (0:00:00.021) 0:00:14.819 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:43:52 +0000 (0:00:00.426) 0:00:15.245 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:43:52 +0000 (0:00:00.023) 0:00:15.269 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:43:52 +0000 (0:00:00.023) 0:00:15.292 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:43:52 +0000 (0:00:00.024) 0:00:15.316 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:43:52 +0000 (0:00:00.022) 0:00:15.338 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:81 Monday 17 June 2024 14:43:52 +0000 (0:00:00.193) 0:00:15.532 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:43:52 +0000 (0:00:00.064) 0:00:15.597 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:43:52 +0000 (0:00:00.023) 0:00:15.620 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:43:52 +0000 (0:00:00.024) 0:00:15.644 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:43:53 +0000 (0:00:00.038) 0:00:15.683 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:43:53 +0000 (0:00:00.076) 0:00:15.760 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-06-17 14:43:53.277134", "rc": 0, "start": "2024-06-17 14:43:53.273686" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:43:53 +0000 (0:00:00.202) 0:00:15.962 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:43:53 +0000 (0:00:00.024) 0:00:15.986 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:43:53 +0000 (0:00:00.022) 0:00:16.009 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:43:54 +0000 (0:00:00.910) 0:00:16.919 *********** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:43:54 +0000 (0:00:00.036) 0:00:16.955 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:43:54 +0000 (0:00:00.029) 0:00:16.985 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019071", "end": "2024-06-17 14:43:54.520793", "rc": 0, "start": "2024-06-17 14:43:54.501722" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:43:54 +0000 (0:00:00.225) 0:00:17.211 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:43:54 +0000 (0:00:00.024) 0:00:17.236 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:43:54 +0000 (0:00:00.025) 0:00:17.261 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:43:54 +0000 (0:00:00.023) 0:00:17.285 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:85 Monday 17 June 2024 14:43:54 +0000 (0:00:00.023) 0:00:17.309 *********** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:89 Monday 17 June 2024 14:43:54 +0000 (0:00:00.021) 0:00:17.330 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:43:54 +0000 (0:00:00.085) 0:00:17.416 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:43:54 +0000 (0:00:00.022) 0:00:17.439 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:43:54 +0000 (0:00:00.020) 0:00:17.459 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:43:54 +0000 (0:00:00.033) 0:00:17.493 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:43:54 +0000 (0:00:00.033) 0:00:17.527 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003315", "end": "2024-06-17 14:43:55.043032", "rc": 0, "start": "2024-06-17 14:43:55.039717" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:43:55 +0000 (0:00:00.200) 0:00:17.727 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:43:55 +0000 (0:00:00.024) 0:00:17.752 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:43:55 +0000 (0:00:00.023) 0:00:17.775 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:43:56 +0000 (0:00:00.909) 0:00:18.685 *********** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.015269", "end": "2024-06-17 14:43:56.216712", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-06-17 14:43:56.201443" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003561", "end": "2024-06-17 14:43:56.417127", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-06-17 14:43:56.413566" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003802", "end": "2024-06-17 14:43:56.596679", "item": "ip link set veth0 up", "rc": 0, "start": "2024-06-17 14:43:56.592877" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:43:56 +0000 (0:00:00.595) 0:00:19.281 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023161", "end": "2024-06-17 14:43:56.815548", "rc": 0, "start": "2024-06-17 14:43:56.792387" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:43:56 +0000 (0:00:00.219) 0:00:19.500 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:43:56 +0000 (0:00:00.024) 0:00:19.525 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:43:56 +0000 (0:00:00.026) 0:00:19.551 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:43:56 +0000 (0:00:00.025) 0:00:19.577 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:43:56 +0000 (0:00:00.030) 0:00:19.607 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:43:57 +0000 (0:00:00.051) 0:00:19.658 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:43:57 +0000 (0:00:00.040) 0:00:19.699 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:43:57 +0000 (0:00:00.039) 0:00:19.739 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:43:57 +0000 (0:00:00.022) 0:00:19.762 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:43:57 +0000 (0:00:00.027) 0:00:19.790 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:43:58 +0000 (0:00:01.486) 0:00:21.277 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:43:59 +0000 (0:00:00.674) 0:00:21.951 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:43:59 +0000 (0:00:00.024) 0:00:21.975 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:43:59 +0000 (0:00:00.031) 0:00:22.007 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:43:59 +0000 (0:00:00.033) 0:00:22.041 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:43:59 +0000 (0:00:00.037) 0:00:22.078 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:43:59 +0000 (0:00:00.030) 0:00:22.109 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:43:59 +0000 (0:00:00.031) 0:00:22.141 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:43:59 +0000 (0:00:00.048) 0:00:22.190 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:43:59 +0000 (0:00:00.022) 0:00:22.213 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:43:59 +0000 (0:00:00.065) 0:00:22.278 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:43:59 +0000 (0:00:00.028) 0:00:22.306 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:44:00 +0000 (0:00:00.372) 0:00:22.679 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:44:00 +0000 (0:00:00.027) 0:00:22.706 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:44:00 +0000 (0:00:00.020) 0:00:22.726 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:44:00 +0000 (0:00:00.020) 0:00:22.747 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:44:00 +0000 (0:00:00.395) 0:00:23.143 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:44:00 +0000 (0:00:00.022) 0:00:23.165 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:44:00 +0000 (0:00:00.022) 0:00:23.188 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 14fff7fa-d80b-4a3a-8e46-a21db5fa0cc3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:44:00 +0000 (0:00:00.022) 0:00:23.211 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:44:00 +0000 (0:00:00.020) 0:00:23.231 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:110 Monday 17 June 2024 14:44:00 +0000 (0:00:00.191) 0:00:23.423 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:44:00 +0000 (0:00:00.096) 0:00:23.519 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:44:00 +0000 (0:00:00.035) 0:00:23.554 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635436.2052028, "block_size": 4096, "blocks": 0, "ctime": 1718635436.2052028, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1718635436.2052028, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:44:01 +0000 (0:00:00.198) 0:00:23.753 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:112 Monday 17 June 2024 14:44:01 +0000 (0:00:00.024) 0:00:23.778 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:44:01 +0000 (0:00:00.052) 0:00:23.830 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:44:01 +0000 (0:00:00.035) 0:00:23.865 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:44:01 +0000 (0:00:00.021) 0:00:23.886 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:44:01 +0000 (0:00:00.200) 0:00:24.087 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:44:01 +0000 (0:00:00.022) 0:00:24.109 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022966", "end": "2024-06-17 14:44:01.650243", "rc": 0, "start": "2024-06-17 14:44:01.627277" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:44:01 +0000 (0:00:00.225) 0:00:24.334 *********** 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-veth0] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:44:01 +0000 (0:00:00.024) 0:00:24.359 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:44:01 +0000 (0:00:00.021) 0:00:24.380 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:44:01 +0000 (0:00:00.062) 0:00:24.442 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:44:01 +0000 (0:00:00.023) 0:00:24.465 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:44:01 +0000 (0:00:00.022) 0:00:24.488 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:44:01 +0000 (0:00:00.026) 0:00:24.514 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:44:01 +0000 (0:00:00.023) 0:00:24.538 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:116 Monday 17 June 2024 14:44:01 +0000 (0:00:00.023) 0:00:24.562 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003593", "end": "2024-06-17 14:44:02.080166", "rc": 0, "start": "2024-06-17 14:44:02.076573" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.205 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.205 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:120 Monday 17 June 2024 14:44:02 +0000 (0:00:00.203) 0:00:24.765 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:126 Monday 17 June 2024 14:44:02 +0000 (0:00:00.022) 0:00:24.788 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003667", "end": "2024-06-17 14:44:02.302522", "rc": 0, "start": "2024-06-17 14:44:02.298855" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:130 Monday 17 June 2024 14:44:02 +0000 (0:00:00.197) 0:00:24.986 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:137 Monday 17 June 2024 14:44:02 +0000 (0:00:00.025) 0:00:25.011 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:44:02 +0000 (0:00:00.021) 0:00:25.033 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:44:02 +0000 (0:00:00.038) 0:00:25.072 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:44:02 +0000 (0:00:00.026) 0:00:25.098 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:44:02 +0000 (0:00:00.021) 0:00:25.120 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:44:02 +0000 (0:00:00.021) 0:00:25.141 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:44:04 +0000 (0:00:02.500) 0:00:27.641 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:44:05 +0000 (0:00:00.656) 0:00:28.298 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:44:05 +0000 (0:00:00.023) 0:00:28.321 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:44:05 +0000 (0:00:00.021) 0:00:28.343 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:44:05 +0000 (0:00:00.021) 0:00:28.364 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:44:05 +0000 (0:00:00.025) 0:00:28.390 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:44:05 +0000 (0:00:00.057) 0:00:28.447 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:44:05 +0000 (0:00:00.026) 0:00:28.474 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:44:05 +0000 (0:00:00.042) 0:00:28.517 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:44:05 +0000 (0:00:00.021) 0:00:28.538 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:44:05 +0000 (0:00:00.020) 0:00:28.558 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:44:05 +0000 (0:00:00.024) 0:00:28.583 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:44:06 +0000 (0:00:00.362) 0:00:28.945 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:44:06 +0000 (0:00:00.026) 0:00:28.971 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:44:06 +0000 (0:00:00.022) 0:00:28.993 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:44:06 +0000 (0:00:00.020) 0:00:29.014 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:44:06 +0000 (0:00:00.425) 0:00:29.439 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:44:06 +0000 (0:00:00.022) 0:00:29.461 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:44:06 +0000 (0:00:00.022) 0:00:29.484 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:44:06 +0000 (0:00:00.024) 0:00:29.508 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:44:06 +0000 (0:00:00.021) 0:00:29.530 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:149 Monday 17 June 2024 14:44:07 +0000 (0:00:00.201) 0:00:29.731 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:44:07 +0000 (0:00:00.057) 0:00:29.788 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:44:07 +0000 (0:00:00.022) 0:00:29.810 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:44:07 +0000 (0:00:00.020) 0:00:29.830 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:44:07 +0000 (0:00:00.034) 0:00:29.865 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:44:07 +0000 (0:00:00.034) 0:00:29.899 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003217", "end": "2024-06-17 14:44:07.413690", "rc": 0, "start": "2024-06-17 14:44:07.410473" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:44:07 +0000 (0:00:00.198) 0:00:30.097 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:44:07 +0000 (0:00:00.028) 0:00:30.126 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:44:07 +0000 (0:00:00.043) 0:00:30.169 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:44:08 +0000 (0:00:00.939) 0:00:31.109 *********** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:44:08 +0000 (0:00:00.033) 0:00:31.142 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:44:08 +0000 (0:00:00.022) 0:00:31.165 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016434", "end": "2024-06-17 14:44:08.694078", "rc": 0, "start": "2024-06-17 14:44:08.677644" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:44:08 +0000 (0:00:00.216) 0:00:31.381 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:44:08 +0000 (0:00:00.022) 0:00:31.404 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:44:08 +0000 (0:00:00.023) 0:00:31.427 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:44:08 +0000 (0:00:00.024) 0:00:31.452 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_auto_gateway.yml:153 Monday 17 June 2024 14:44:08 +0000 (0:00:00.025) 0:00:31.477 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:44:08 +0000 (0:00:00.059) 0:00:31.536 *********** 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.009029", "end": "2024-06-17 14:44:09.060632", "rc": 0, "start": "2024-06-17 14:44:09.051603" } 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 0a:ff:da:8f:8c:89 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.12.205/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3105sec preferred_lft 3105sec inet6 fe80::8ff:daff:fe8f:8c89/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.205 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.205 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 network connectivity] ************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:44:09 +0000 (0:00:00.207) 0:00:31.744 *********** 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.343069", "end": "2024-06-17 14:44:09.601847", "rc": 0, "start": "2024-06-17 14:44:09.258778" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 4357 0 --:--:-- --:--:-- --:--:-- 4420 % 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 1187 0 --:--:-- --:--:-- --:--:-- 1187 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=128 changed=4 unreachable=0 failed=0 skipped=114 rescued=0 ignored=0 Monday 17 June 2024 14:44:09 +0000 (0:00:00.531) 0:00:32.275 *********** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 2.02s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 0.94s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.85s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.72s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-tft-testsgbd2_0in/tests/tests_auto_gateway_nm.yml:6 -------------- linux-system-roles.network : Check which packages are installed --------- 0.68s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.67s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/manage_test_interface.yml:28 Verify DNS and network connectivity ------------------------------------- 0.53s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:24 - linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---