# 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-testsezfn21rw/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-testsezfn21rw/tests/tests_auto_gateway_nm.yml:6 Monday 17 June 2024 14:32:33 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_auto_gateway_nm.yml:9 Monday 17 June 2024 14:32:33 +0000 (0:00:00.560) 0:00:00.572 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-testsezfn21rw/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:32:33 +0000 (0:00:00.034) 0:00:00.606 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:32:34 +0000 (0:00:00.225) 0:00:00.832 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:32:34 +0000 (0:00:00.190) 0:00:01.023 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:32:34 +0000 (0:00:00.022) 0:00:01.045 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:32:34 +0000 (0:00:00.017) 0:00:01.063 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:32:34 +0000 (0:00:00.035) 0:00:01.098 *********** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:32:34 +0000 (0:00:00.264) 0:00:01.363 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:32:34 +0000 (0:00:00.380) 0:00:01.744 *********** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.171722", "end": "2024-06-17 14:32:35.199379", "rc": 0, "start": "2024-06-17 14:32:35.027657" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:32:35 +0000 (0:00:00.307) 0:00:02.051 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:32:35 +0000 (0:00:00.012) 0:00:02.064 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_auto_gateway_nm.yml:11 Monday 17 June 2024 14:32:35 +0000 (0:00:00.009) 0:00:02.074 *********** 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-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:3 Monday 17 June 2024 14:32:35 +0000 (0:00:00.014) 0:00:02.089 *********** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:9 Monday 17 June 2024 14:32:35 +0000 (0:00:00.379) 0:00:02.468 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:32:35 +0000 (0:00:00.035) 0:00:02.504 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:32:35 +0000 (0:00:00.018) 0:00:02.522 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.006314", "end": "2024-06-17 14:32:35.814689", "rc": 0, "start": "2024-06-17 14:32:35.808375" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:32:35 +0000 (0:00:00.130) 0:00:02.652 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:32:35 +0000 (0:00:00.011) 0:00:02.664 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:11 Monday 17 June 2024 14:32:35 +0000 (0:00:00.010) 0:00:02.674 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:32:35 +0000 (0:00:00.030) 0:00:02.704 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:32:35 +0000 (0:00:00.026) 0:00:02.731 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:32:35 +0000 (0:00:00.028) 0:00:02.760 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:32:35 +0000 (0:00:00.028) 0:00:02.789 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:32:36 +0000 (0:00:00.050) 0:00:02.839 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003229", "end": "2024-06-17 14:32:36.139945", "rc": 0, "start": "2024-06-17 14:32:36.136716" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:32:36 +0000 (0:00:00.153) 0:00:02.993 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:32:36 +0000 (0:00:00.021) 0:00:03.015 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:32:36 +0000 (0:00:00.015) 0:00:03.030 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:32:36 +0000 (0:00:00.308) 0:00:03.338 *********** 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.010347", "end": "2024-06-17 14:32:36.630417", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-06-17 14:32:36.620070" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003366", "end": "2024-06-17 14:32:36.749253", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-06-17 14:32:36.745887" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003877", "end": "2024-06-17 14:32:36.867829", "item": "ip link set veth0 up", "rc": 0, "start": "2024-06-17 14:32:36.863952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:32:36 +0000 (0:00:00.379) 0:00:03.718 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021838", "end": "2024-06-17 14:32:37.030910", "rc": 0, "start": "2024-06-17 14:32:37.009072" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:32:37 +0000 (0:00:00.167) 0:00:03.886 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:32:37 +0000 (0:00:00.024) 0:00:03.910 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:32:37 +0000 (0:00:00.017) 0:00:03.928 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:32:37 +0000 (0:00:00.032) 0:00:03.960 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:32:37 +0000 (0:00:00.019) 0:00:03.979 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:15 Monday 17 June 2024 14:32:37 +0000 (0:00:00.011) 0:00:03.990 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:32:37 +0000 (0:00:00.038) 0:00:04.029 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:32:37 +0000 (0:00:00.015) 0:00:04.044 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634756.6349328, "block_size": 4096, "blocks": 0, "ctime": 1718634756.6349328, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17725, "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": 1718634756.6349328, "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-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:32:37 +0000 (0:00:00.134) 0:00:04.179 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:17 Monday 17 June 2024 14:32:37 +0000 (0:00:00.023) 0:00:04.202 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:32:37 +0000 (0:00:00.026) 0:00:04.229 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:32:37 +0000 (0:00:00.027) 0:00:04.256 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:32:37 +0000 (0:00:00.019) 0:00:04.276 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:32:37 +0000 (0:00:00.016) 0:00:04.292 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:32:37 +0000 (0:00:00.031) 0:00:04.324 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:32:38 +0000 (0:00:00.778) 0:00:05.103 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:32:39 +0000 (0:00:00.997) 0:00:06.100 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:32:39 +0000 (0:00:00.020) 0:00:06.121 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:32:39 +0000 (0:00:00.021) 0:00:06.142 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:32:39 +0000 (0:00:00.020) 0:00:06.163 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:32:39 +0000 (0:00:00.021) 0:00:06.185 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:32:39 +0000 (0:00:00.025) 0:00:06.210 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:32:39 +0000 (0:00:00.043) 0:00:06.254 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:32:39 +0000 (0:00:00.060) 0:00:06.314 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:32:39 +0000 (0:00:00.024) 0:00:06.338 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:32:39 +0000 (0:00:00.020) 0:00:06.358 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:32:39 +0000 (0:00:00.024) 0:00:06.383 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:32:40 +0000 (0:00:00.473) 0:00:06.857 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:32:40 +0000 (0:00:00.037) 0:00:06.894 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:32:40 +0000 (0:00:00.037) 0:00:06.932 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:32:40 +0000 (0:00:00.057) 0:00:06.989 *********** 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, 418656b4-975e-40b4-b3ef-963a63142bd9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:32:40 +0000 (0:00:00.624) 0:00:07.614 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:32:40 +0000 (0:00:00.022) 0:00:07.637 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:32:40 +0000 (0:00:00.043) 0:00:07.680 *********** 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, 418656b4-975e-40b4-b3ef-963a63142bd9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 418656b4-975e-40b4-b3ef-963a63142bd9 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:32:40 +0000 (0:00:00.026) 0:00:07.707 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:32:40 +0000 (0:00:00.031) 0:00:07.738 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:42 Monday 17 June 2024 14:32:41 +0000 (0:00:00.287) 0:00:08.025 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:32:41 +0000 (0:00:00.082) 0:00:08.108 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:32:41 +0000 (0:00:00.045) 0:00:08.154 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634757.3319354, "block_size": 4096, "blocks": 0, "ctime": 1718634756.6349328, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17725, "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": 1718634756.6349328, "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-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:32:41 +0000 (0:00:00.145) 0:00:08.299 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:44 Monday 17 June 2024 14:32:41 +0000 (0:00:00.022) 0:00:08.322 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:32:41 +0000 (0:00:00.077) 0:00:08.399 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:32:41 +0000 (0:00:00.070) 0:00:08.470 *********** 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-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:32:41 +0000 (0:00:00.032) 0:00:08.502 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634760.7809484, "block_size": 4096, "blocks": 8, "ctime": 1718634760.6939483, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25450, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718634760.6939483, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 403, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:32:41 +0000 (0:00:00.222) 0:00:08.725 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:32:41 +0000 (0:00:00.081) 0:00:08.807 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021447", "end": "2024-06-17 14:32:42.168000", "rc": 0, "start": "2024-06-17 14:32:42.146553" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:32:42 +0000 (0:00:00.229) 0:00:09.036 *********** 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-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:32:42 +0000 (0:00:00.075) 0:00:09.112 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:32:42 +0000 (0:00:00.077) 0:00:09.190 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:32:42 +0000 (0:00:00.045) 0:00:09.235 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:32:42 +0000 (0:00:00.042) 0:00:09.278 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:32:42 +0000 (0:00:00.022) 0:00:09.300 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:32:42 +0000 (0:00:00.028) 0:00:09.329 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:32:42 +0000 (0:00:00.032) 0:00:09.362 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:48 Monday 17 June 2024 14:32:42 +0000 (0:00:00.036) 0:00:09.398 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003439", "end": "2024-06-17 14:32:42.682895", "rc": 0, "start": "2024-06-17 14:32:42.679456" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.222 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-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:52 Monday 17 June 2024 14:32:42 +0000 (0:00:00.201) 0:00:09.600 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:58 Monday 17 June 2024 14:32:42 +0000 (0:00:00.059) 0:00:09.659 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.007044", "end": "2024-06-17 14:32:42.953592", "rc": 0, "start": "2024-06-17 14:32:42.946548" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:62 Monday 17 June 2024 14:32:42 +0000 (0:00:00.158) 0:00:09.818 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:69 Monday 17 June 2024 14:32:43 +0000 (0:00:00.042) 0:00:09.860 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:32:43 +0000 (0:00:00.044) 0:00:09.905 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:32:43 +0000 (0:00:00.038) 0:00:09.944 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:32:43 +0000 (0:00:00.026) 0:00:09.970 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:32:43 +0000 (0:00:00.021) 0:00:09.992 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:32:43 +0000 (0:00:00.022) 0:00:10.014 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:32:43 +0000 (0:00:00.672) 0:00:10.686 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:32:44 +0000 (0:00:00.890) 0:00:11.576 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:32:44 +0000 (0:00:00.021) 0:00:11.598 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:32:44 +0000 (0:00:00.019) 0:00:11.618 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:32:44 +0000 (0:00:00.019) 0:00:11.638 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:32:44 +0000 (0:00:00.021) 0:00:11.659 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:32:44 +0000 (0:00:00.023) 0:00:11.683 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:32:44 +0000 (0:00:00.023) 0:00:11.706 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:32:44 +0000 (0:00:00.040) 0:00:11.747 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:32:44 +0000 (0:00:00.020) 0:00:11.767 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:32:44 +0000 (0:00:00.020) 0:00:11.787 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:32:44 +0000 (0:00:00.025) 0:00:11.813 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:32:45 +0000 (0:00:00.219) 0:00:12.032 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:32:45 +0000 (0:00:00.024) 0:00:12.056 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:32:45 +0000 (0:00:00.021) 0:00:12.077 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:32:45 +0000 (0:00:00.020) 0:00:12.097 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:32:45 +0000 (0:00:00.392) 0:00:12.489 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:32:45 +0000 (0:00:00.053) 0:00:12.543 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:32:45 +0000 (0:00:00.024) 0:00:12.568 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:32:45 +0000 (0:00:00.024) 0:00:12.592 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:32:45 +0000 (0:00:00.020) 0:00:12.612 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:81 Monday 17 June 2024 14:32:45 +0000 (0:00:00.129) 0:00:12.742 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:32:45 +0000 (0:00:00.053) 0:00:12.795 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:32:45 +0000 (0:00:00.022) 0:00:12.818 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:32:46 +0000 (0:00:00.027) 0:00:12.845 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:32:46 +0000 (0:00:00.033) 0:00:12.878 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:32:46 +0000 (0:00:00.031) 0:00:12.910 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2024-06-17 14:32:46.191442", "rc": 0, "start": "2024-06-17 14:32:46.188196" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:32:46 +0000 (0:00:00.130) 0:00:13.041 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:32:46 +0000 (0:00:00.020) 0:00:13.062 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:32:46 +0000 (0:00:00.021) 0:00:13.083 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:32:46 +0000 (0:00:00.327) 0:00:13.410 *********** 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-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:32:46 +0000 (0:00:00.030) 0:00:13.440 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:32:46 +0000 (0:00:00.020) 0:00:13.461 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010743", "end": "2024-06-17 14:32:46.753304", "rc": 0, "start": "2024-06-17 14:32:46.742561" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:32:46 +0000 (0:00:00.145) 0:00:13.606 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:32:46 +0000 (0:00:00.028) 0:00:13.634 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:32:46 +0000 (0:00:00.020) 0:00:13.655 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:32:46 +0000 (0:00:00.026) 0:00:13.681 *********** 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-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:85 Monday 17 June 2024 14:32:46 +0000 (0:00:00.024) 0:00:13.706 *********** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:89 Monday 17 June 2024 14:32:46 +0000 (0:00:00.024) 0:00:13.731 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:32:46 +0000 (0:00:00.052) 0:00:13.784 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:32:46 +0000 (0:00:00.021) 0:00:13.805 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:32:46 +0000 (0:00:00.019) 0:00:13.824 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:32:47 +0000 (0:00:00.031) 0:00:13.856 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:32:47 +0000 (0:00:00.067) 0:00:13.923 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-06-17 14:32:47.210331", "rc": 0, "start": "2024-06-17 14:32:47.206856" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:32:47 +0000 (0:00:00.137) 0:00:14.060 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:32:47 +0000 (0:00:00.023) 0:00:14.084 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:32:47 +0000 (0:00:00.036) 0:00:14.120 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:32:47 +0000 (0:00:00.319) 0:00:14.440 *********** 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.013175", "end": "2024-06-17 14:32:47.733887", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-06-17 14:32:47.720712" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003478", "end": "2024-06-17 14:32:47.870332", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-06-17 14:32:47.866854" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004290", "end": "2024-06-17 14:32:47.997457", "item": "ip link set veth0 up", "rc": 0, "start": "2024-06-17 14:32:47.993167" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:32:48 +0000 (0:00:00.415) 0:00:14.856 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023305", "end": "2024-06-17 14:32:48.174811", "rc": 0, "start": "2024-06-17 14:32:48.151506" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:32:48 +0000 (0:00:00.189) 0:00:15.045 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:32:48 +0000 (0:00:00.035) 0:00:15.081 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:32:48 +0000 (0:00:00.035) 0:00:15.116 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:32:48 +0000 (0:00:00.023) 0:00:15.140 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:32:48 +0000 (0:00:00.030) 0:00:15.171 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:32:48 +0000 (0:00:00.023) 0:00:15.194 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:32:48 +0000 (0:00:00.036) 0:00:15.230 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:32:48 +0000 (0:00:00.036) 0:00:15.266 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:32:48 +0000 (0:00:00.023) 0:00:15.290 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:32:48 +0000 (0:00:00.066) 0:00:15.357 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:32:49 +0000 (0:00:00.662) 0:00:16.020 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:32:50 +0000 (0:00:00.859) 0:00:16.879 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:32:50 +0000 (0:00:00.022) 0:00:16.901 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:32:50 +0000 (0:00:00.022) 0:00:16.924 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:32:50 +0000 (0:00:00.025) 0:00:16.950 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:32:50 +0000 (0:00:00.023) 0:00:16.973 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:32:50 +0000 (0:00:00.032) 0:00:17.006 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:32:50 +0000 (0:00:00.032) 0:00:17.039 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:32:50 +0000 (0:00:00.048) 0:00:17.087 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:32:50 +0000 (0:00:00.022) 0:00:17.109 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:32:50 +0000 (0:00:00.055) 0:00:17.165 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:32:50 +0000 (0:00:00.026) 0:00:17.191 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:32:50 +0000 (0:00:00.252) 0:00:17.444 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:32:50 +0000 (0:00:00.057) 0:00:17.501 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:32:50 +0000 (0:00:00.056) 0:00:17.557 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:32:50 +0000 (0:00:00.059) 0:00:17.616 *********** 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, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:32:51 +0000 (0:00:00.370) 0:00:17.987 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:32:51 +0000 (0:00:00.039) 0:00:18.027 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:32:51 +0000 (0:00:00.025) 0:00:18.052 *********** 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, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5bd8c45-e1ae-46a5-96ac-635dbbec2b22 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:32:51 +0000 (0:00:00.051) 0:00:18.104 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:32:51 +0000 (0:00:00.043) 0:00:18.147 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:110 Monday 17 June 2024 14:32:51 +0000 (0:00:00.268) 0:00:18.416 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:32:51 +0000 (0:00:00.143) 0:00:18.559 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:32:51 +0000 (0:00:00.061) 0:00:18.621 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634771.0419874, "block_size": 4096, "blocks": 0, "ctime": 1718634767.7349749, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1718634767.7349749, "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-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:32:52 +0000 (0:00:00.223) 0:00:18.845 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:112 Monday 17 June 2024 14:32:52 +0000 (0:00:00.054) 0:00:18.900 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:32:52 +0000 (0:00:00.084) 0:00:18.985 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:32:52 +0000 (0:00:00.038) 0:00:19.023 *********** 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-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:32:52 +0000 (0:00:00.040) 0:00:19.063 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634771.1449878, "block_size": 4096, "blocks": 8, "ctime": 1718634771.0799875, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718634771.0799875, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:32:52 +0000 (0:00:00.236) 0:00:19.299 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:32:52 +0000 (0:00:00.034) 0:00:19.334 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021213", "end": "2024-06-17 14:32:52.670939", "rc": 0, "start": "2024-06-17 14:32:52.649726" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:32:52 +0000 (0:00:00.198) 0:00:19.533 *********** 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-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:32:52 +0000 (0:00:00.057) 0:00:19.590 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:32:52 +0000 (0:00:00.037) 0:00:19.628 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:32:52 +0000 (0:00:00.029) 0:00:19.658 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:32:52 +0000 (0:00:00.023) 0:00:19.681 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:32:52 +0000 (0:00:00.023) 0:00:19.704 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:32:52 +0000 (0:00:00.022) 0:00:19.726 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:32:52 +0000 (0:00:00.021) 0:00:19.748 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:116 Monday 17 June 2024 14:32:52 +0000 (0:00:00.057) 0:00:19.805 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003518", "end": "2024-06-17 14:32:53.085881", "rc": 0, "start": "2024-06-17 14:32:53.082363" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.222 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-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:120 Monday 17 June 2024 14:32:53 +0000 (0:00:00.130) 0:00:19.936 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:126 Monday 17 June 2024 14:32:53 +0000 (0:00:00.021) 0:00:19.958 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003197", "end": "2024-06-17 14:32:53.239496", "rc": 0, "start": "2024-06-17 14:32:53.236299" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:130 Monday 17 June 2024 14:32:53 +0000 (0:00:00.130) 0:00:20.088 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:137 Monday 17 June 2024 14:32:53 +0000 (0:00:00.023) 0:00:20.112 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:32:53 +0000 (0:00:00.021) 0:00:20.133 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:32:53 +0000 (0:00:00.036) 0:00:20.170 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:32:53 +0000 (0:00:00.039) 0:00:20.209 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:32:53 +0000 (0:00:00.031) 0:00:20.241 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:32:53 +0000 (0:00:00.019) 0:00:20.261 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:32:54 +0000 (0:00:00.653) 0:00:20.915 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:32:55 +0000 (0:00:01.003) 0:00:21.919 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:32:55 +0000 (0:00:00.034) 0:00:21.953 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:32:55 +0000 (0:00:00.026) 0:00:21.979 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:32:55 +0000 (0:00:00.031) 0:00:22.010 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:32:55 +0000 (0:00:00.031) 0:00:22.042 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:32:55 +0000 (0:00:00.036) 0:00:22.079 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:32:55 +0000 (0:00:00.034) 0:00:22.114 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:32:55 +0000 (0:00:00.061) 0:00:22.175 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:32:55 +0000 (0:00:00.029) 0:00:22.205 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:32:55 +0000 (0:00:00.024) 0:00:22.230 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:32:55 +0000 (0:00:00.047) 0:00:22.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:32:55 +0000 (0:00:00.243) 0:00:22.520 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:32:55 +0000 (0:00:00.025) 0:00:22.546 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:32:55 +0000 (0:00:00.024) 0:00:22.571 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:32:55 +0000 (0:00:00.029) 0:00:22.601 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:32:56 +0000 (0:00:00.421) 0:00:23.022 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:32:56 +0000 (0:00:00.132) 0:00:23.155 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:32:56 +0000 (0:00:00.029) 0:00:23.184 *********** 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-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:32:56 +0000 (0:00:00.033) 0:00:23.217 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:32:56 +0000 (0:00:00.038) 0:00:23.256 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:149 Monday 17 June 2024 14:32:56 +0000 (0:00:00.147) 0:00:23.403 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:32:56 +0000 (0:00:00.077) 0:00:23.481 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:32:56 +0000 (0:00:00.028) 0:00:23.509 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:32:56 +0000 (0:00:00.035) 0:00:23.545 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:32:56 +0000 (0:00:00.035) 0:00:23.581 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:32:56 +0000 (0:00:00.033) 0:00:23.615 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004338", "end": "2024-06-17 14:32:57.900853", "rc": 0, "start": "2024-06-17 14:32:56.896515" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:32:57 +0000 (0:00:01.154) 0:00:24.770 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:32:58 +0000 (0:00:00.095) 0:00:24.865 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:32:58 +0000 (0:00:00.028) 0:00:24.893 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 17 June 2024 14:32:58 +0000 (0:00:00.354) 0:00:25.248 *********** 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-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 17 June 2024 14:32:58 +0000 (0:00:00.047) 0:00:25.296 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 17 June 2024 14:32:58 +0000 (0:00:00.034) 0:00:25.331 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010125", "end": "2024-06-17 14:32:58.627255", "rc": 0, "start": "2024-06-17 14:32:58.617130" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 17 June 2024 14:32:58 +0000 (0:00:00.149) 0:00:25.481 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 17 June 2024 14:32:58 +0000 (0:00:00.023) 0:00:25.504 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:32:58 +0000 (0:00:00.041) 0:00:25.545 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 17 June 2024 14:32:58 +0000 (0:00:00.041) 0:00:25.587 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:153 Monday 17 June 2024 14:32:58 +0000 (0:00:00.024) 0:00:25.612 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:32:58 +0000 (0:00:00.104) 0:00:25.716 *********** 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.006905", "end": "2024-06-17 14:32:59.028322", "rc": 0, "start": "2024-06-17 14:32:59.021417" } 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 12:e6:77:93:68:5f brd ff:ff:ff:ff:ff:ff inet 10.31.10.222/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3566sec preferred_lft 3566sec inet6 fe80::10e6:77ff:fe93:685f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.222 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:32:59 +0000 (0:00:00.176) 0:00:25.893 *********** 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.670951", "end": "2024-06-17 14:32:59.847620", "rc": 0, "start": "2024-06-17 14:32:59.176669" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1269 0 --:--:-- --:--:-- --:--:-- 1270 % 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 725 0 --:--:-- --:--:-- --:--:-- 725 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=133 changed=4 unreachable=0 failed=0 skipped=109 rescued=0 ignored=0 Monday 17 June 2024 14:32:59 +0000 (0:00:00.792) 0:00:26.686 *********** =============================================================================== Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.89s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Verify DNS and network connectivity ------------------------------------- 0.79s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:24 - linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.67s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.66s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.65s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-tft-testsezfn21rw/tests/tests_auto_gateway_nm.yml:6 -------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.47s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Enable and start NetworkManager ------------ 0.46s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Create veth interface veth0 --------------------------------------------- 0.42s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Install yum-utils package ----------------------------------------------- 0.38s /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:24 ----------------- Create veth interface veth0 --------------------------------------------- 0.38s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.38s /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_auto_gateway.yml:3 ------- linux-system-roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---