# 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-bond_options_rewrite8febexeq/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-bond_options_rewrite8febexeq/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 13:58:44 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 13:58:44 +0000 (0:00:00.614) 0:00:00.626 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 13:58:44 +0000 (0:00:00.011) 0:00:00.637 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.230) 0:00:00.867 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.188) 0:00:01.056 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.019) 0:00:01.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.018) 0:00:01.095 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.032) 0:00:01.127 ****** 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-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 13:58:45 +0000 (0:00:00.202) 0:00:01.330 ****** 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-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.507) 0:00:01.838 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175024", "end": "2024-02-13 13:58:46.331733", "rc": 0, "start": "2024-02-13 13:58:46.156709" } 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-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.296) 0:00:02.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.010) 0:00:02.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.009) 0:00:02.155 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.014) 0:00:02.169 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.373) 0:00:02.542 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.027) 0:00:02.570 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.027) 0:00:02.597 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2024-02-13 13:58:46.921461", "rc": 0, "start": "2024-02-13 13:58:46.918040" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.126) 0:00:02.724 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.011) 0:00:02.735 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.011) 0:00:02.746 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.026) 0:00:02.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:58:46 +0000 (0:00:00.009) 0:00:02.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.010) 0:00:02.793 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.012) 0:00:02.806 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.011) 0:00:02.818 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003606", "end": "2024-02-13 13:58:47.134380", "rc": 0, "start": "2024-02-13 13:58:47.130774" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.118) 0:00:02.937 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.013) 0:00:02.951 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.011) 0:00:02.963 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.369) 0:00:03.332 ****** 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.011942", "end": "2024-02-13 13:58:47.663183", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 13:58:47.651241" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003316", "end": "2024-02-13 13:58:47.793807", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 13:58:47.790491" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004728", "end": "2024-02-13 13:58:47.912275", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 13:58:47.907547" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 13:58:47 +0000 (0:00:00.386) 0:00:03.719 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.043608", "end": "2024-02-13 13:58:48.087114", "rc": 0, "start": "2024-02-13 13:58:48.043506" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.177) 0:00:03.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.024) 0:00:03.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.016) 0:00:03.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.033) 0:00:03.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.022) 0:00:03.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.011) 0:00:04.005 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.029) 0:00:04.034 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.015) 0:00:04.050 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832727.6627886, "block_size": 4096, "blocks": 0, "ctime": 1707832727.6627886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17704, "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": 1707832727.6627886, "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-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.143) 0:00:04.194 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.018) 0:00:04.213 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.017) 0:00:04.230 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.080) 0:00:04.311 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.017) 0:00:04.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.009) 0:00:04.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 13:58:48 +0000 (0:00:00.011) 0:00:04.349 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 13:58:49 +0000 (0:00:00.771) 0:00:05.120 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 13:58:50 +0000 (0:00:01.070) 0:00:06.191 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.031) 0:00:06.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.027) 0:00:06.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.021) 0:00:06.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.046) 0:00:06.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.021) 0:00:06.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.036) 0:00:06.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 13:58:50 +0000 (0:00:00.027) 0:00:06.404 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.522) 0:00:06.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.059) 0:00:06.985 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.022) 0:00:07.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.021) 0:00:07.029 ****** 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, 30728f63-ea4d-4177-b0b7-9218088bf118 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.504) 0:00:07.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.033) 0:00:07.568 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.023) 0:00:07.591 ****** 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, 30728f63-ea4d-4177-b0b7-9218088bf118\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 30728f63-ea4d-4177-b0b7-9218088bf118 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.022) 0:00:07.613 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 13:58:51 +0000 (0:00:00.019) 0:00:07.633 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.207) 0:00:07.840 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.047) 0:00:07.887 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.034) 0:00:07.921 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832728.377788, "block_size": 4096, "blocks": 0, "ctime": 1707832727.6627886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17704, "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": 1707832727.6627886, "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-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.135) 0:00:08.057 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.025) 0:00:08.083 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.081) 0:00:08.164 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.035) 0:00:08.200 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.029) 0:00:08.230 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832731.7577858, "block_size": 4096, "blocks": 8, "ctime": 1707832731.6457858, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707832731.6457858, "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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.133) 0:00:08.363 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.023) 0:00:08.387 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024747", "end": "2024-02-13 13:58:52.727979", "rc": 0, "start": "2024-02-13 13:58:52.703232" } 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.156) 0:00:08.543 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.028) 0:00:08.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.023) 0:00:08.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.024) 0:00:08.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.042) 0:00:08.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.024) 0:00:08.687 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.036) 0:00:08.723 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.022) 0:00:08.746 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 13:58:52 +0000 (0:00:00.030) 0:00:08.777 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003742", "end": "2024-02-13 13:58:53.095612", "rc": 0, "start": "2024-02-13 13:58:53.091870" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.146 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.164) 0:00:08.941 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.039) 0:00:08.980 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003518", "end": "2024-02-13 13:58:53.303835", "rc": 0, "start": "2024-02-13 13:58:53.300317" } 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.137) 0:00:09.118 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.025) 0:00:09.144 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.021) 0:00:09.165 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.039) 0:00:09.205 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.028) 0:00:09.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.022) 0:00:09.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 13:58:53 +0000 (0:00:00.020) 0:00:09.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 13:58:54 +0000 (0:00:00.704) 0:00:09.981 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.972) 0:00:10.954 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.021) 0:00:10.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.020) 0:00:10.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.020) 0:00:11.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.042) 0:00:11.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.019) 0:00:11.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.021) 0:00:11.101 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.023) 0:00:11.124 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.218) 0:00:11.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.024) 0:00:11.367 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.026) 0:00:11.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 13:58:55 +0000 (0:00:00.021) 0:00:11.414 ****** 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-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.410) 0:00:11.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.022) 0:00:11.847 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.087) 0:00:11.934 ****** 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-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.052) 0:00:11.986 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.038) 0:00:12.025 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.144) 0:00:12.169 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.110) 0:00:12.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.055) 0:00:12.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.027) 0:00:12.363 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.051) 0:00:12.414 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.034) 0:00:12.448 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2024-02-13 13:58:56.769962", "rc": 0, "start": "2024-02-13 13:58:56.766558" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.135) 0:00:12.584 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.044) 0:00:12.628 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:58:56 +0000 (0:00:00.025) 0:00:12.653 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.343) 0:00:12.997 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.088) 0:00:13.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.023) 0:00:13.109 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010006", "end": "2024-02-13 13:58:57.436110", "rc": 0, "start": "2024-02-13 13:58:57.426104" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.149) 0:00:13.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.030) 0:00:13.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.045) 0:00:13.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.073) 0:00:13.408 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.050) 0:00:13.459 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.067) 0:00:13.526 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.054) 0:00:13.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.026) 0:00:13.607 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.032) 0:00:13.639 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.047) 0:00:13.687 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:58:57 +0000 (0:00:00.038) 0:00:13.726 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2024-02-13 13:58:58.065216", "rc": 0, "start": "2024-02-13 13:58:58.061761" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:58:58 +0000 (0:00:00.195) 0:00:13.922 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:58:58 +0000 (0:00:00.033) 0:00:13.955 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:58:58 +0000 (0:00:00.033) 0:00:13.989 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 13:58:58 +0000 (0:00:00.387) 0:00:14.376 ****** 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.011630", "end": "2024-02-13 13:58:58.706764", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 13:58:58.695134" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003346", "end": "2024-02-13 13:58:58.827646", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 13:58:58.824300" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004275", "end": "2024-02-13 13:58:58.943644", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 13:58:58.939369" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 13:58:58 +0000 (0:00:00.381) 0:00:14.758 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.038373", "end": "2024-02-13 13:58:59.115906", "rc": 0, "start": "2024-02-13 13:58:59.077533" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.175) 0:00:14.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.022) 0:00:14.956 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.027) 0:00:14.984 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.023) 0:00:15.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.022) 0:00:15.029 ****** 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-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.021) 0:00:15.051 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.035) 0:00:15.086 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.056) 0:00:15.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.031) 0:00:15.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 13:58:59 +0000 (0:00:00.105) 0:00:15.279 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 13:59:00 +0000 (0:00:00.678) 0:00:15.957 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.941) 0:00:16.899 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.027) 0:00:16.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.023) 0:00:16.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.025) 0:00:16.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.063) 0:00:17.037 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.034) 0:00:17.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.042) 0:00:17.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.029) 0:00:17.144 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.289) 0:00:17.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.025) 0:00:17.459 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.022) 0:00:17.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 13:59:01 +0000 (0:00:00.029) 0:00:17.511 ****** 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, 3009c3d6-63bc-48c6-9f09-2df8c78f638b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.385) 0:00:17.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.028) 0:00:17.925 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.035) 0:00:17.960 ****** 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, 3009c3d6-63bc-48c6-9f09-2df8c78f638b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3009c3d6-63bc-48c6-9f09-2df8c78f638b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.038) 0:00:17.999 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.028) 0:00:18.028 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.130) 0:00:18.158 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.067) 0:00:18.225 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.037) 0:00:18.262 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832741.9767787, "block_size": 4096, "blocks": 0, "ctime": 1707832738.7067811, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17708, "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": 1707832738.7067811, "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-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.135) 0:00:18.398 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.096) 0:00:18.494 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.067) 0:00:18.562 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.036) 0:00:18.598 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.021) 0:00:18.620 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832742.0867786, "block_size": 4096, "blocks": 8, "ctime": 1707832742.0187788, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25419, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707832742.0187788, "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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 13:59:02 +0000 (0:00:00.150) 0:00:18.771 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.033) 0:00:18.805 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023914", "end": "2024-02-13 13:59:03.181831", "rc": 0, "start": "2024-02-13 13:59:03.157917" } 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.195) 0:00:19.000 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.025) 0:00:19.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.030) 0:00:19.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.025) 0:00:19.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.023) 0:00:19.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.025) 0:00:19.131 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.032) 0:00:19.163 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.030) 0:00:19.194 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.041) 0:00:19.235 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003340", "end": "2024-02-13 13:59:03.570007", "rc": 0, "start": "2024-02-13 13:59:03.566667" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.146 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.191) 0:00:19.427 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.023) 0:00:19.450 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003519", "end": "2024-02-13 13:59:03.767946", "rc": 0, "start": "2024-02-13 13:59:03.764427" } 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-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.135) 0:00:19.585 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.027) 0:00:19.613 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.036) 0:00:19.650 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.074) 0:00:19.724 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.035) 0:00:19.760 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 13:59:03 +0000 (0:00:00.023) 0:00:19.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 13:59:04 +0000 (0:00:00.024) 0:00:19.808 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 13:59:04 +0000 (0:00:00.710) 0:00:20.518 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.994) 0:00:21.513 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.027) 0:00:21.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.044) 0:00:21.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.046) 0:00:21.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.057) 0:00:21.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.022) 0:00:21.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.029) 0:00:21.741 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 13:59:05 +0000 (0:00:00.046) 0:00:21.788 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.244) 0:00:22.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.032) 0:00:22.064 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.020) 0:00:22.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.019) 0:00:22.105 ****** 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-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.410) 0:00:22.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.035) 0:00:22.552 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.030) 0:00:22.583 ****** 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-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 13:59:06 +0000 (0:00:00.055) 0:00:22.638 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.173) 0:00:22.812 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.173) 0:00:22.985 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.065) 0:00:23.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.030) 0:00:23.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.021) 0:00:23.102 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.037) 0:00:23.140 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.035) 0:00:23.176 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003314", "end": "2024-02-13 13:59:07.500809", "rc": 0, "start": "2024-02-13 13:59:07.497495" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.143) 0:00:23.319 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.031) 0:00:23.350 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.023) 0:00:23.374 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 13:59:07 +0000 (0:00:00.366) 0:00:23.741 ****** 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-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.104) 0:00:23.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.048) 0:00:23.893 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013114", "end": "2024-02-13 13:59:08.288060", "rc": 0, "start": "2024-02-13 13:59:08.274946" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.226) 0:00:24.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.173) 0:00:24.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.026) 0:00:24.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.031) 0:00:24.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.042) 0:00:24.394 ****** included: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 13:59:08 +0000 (0:00:00.062) 0:00:24.457 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\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.564930", "end": "2024-02-13 13:59:09.360170", "rc": 0, "start": "2024-02-13 13:59:08.795240" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:64:f9:11:74:35 brd ff:ff:ff:ff:ff:ff inet 10.31.15.146/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3522sec preferred_lft 3522sec inet6 fe80::864:f9ff:fe11:7435/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.146 metric 100 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 CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600: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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2007 0 --:--:-- --:--:-- --:--:-- 2006 % 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 757 0 --:--:-- --:--:-- --:--:-- 757 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=132 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Tuesday 13 February 2024 13:59:09 +0000 (0:00:00.729) 0:00:25.186 ****** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.82s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Verify DNS and ping still work ------------------------------------------ 0.73s /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/check_network_dns.yml:6 linux-system-roles.network : Check which services are running ----------- 0.71s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.70s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.68s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrite8febexeq/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Install yum-utils package ----------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewrite8febexeq/tests/tasks/enable_epel.yml:24 ------ linux-system-roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.46s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.39s /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-bond_options_rewrite8febexeq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create veth interface veth0 --------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewrite8febexeq/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---