# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewrite196thrzi/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewrite196thrzi/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_rewrite196thrzi/tests/tests_auto_gateway_nm.yml:6 Friday 09 February 2024 20:58:55 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tests_auto_gateway_nm.yml:9 Friday 09 February 2024 20:58:56 +0000 (0:00:00.709) 0:00:00.722 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/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_rewrite196thrzi/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 20:58:56 +0000 (0:00:00.019) 0:00:00.742 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 20:58:56 +0000 (0:00:00.227) 0:00:00.969 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 20:58:56 +0000 (0:00:00.186) 0:00:01.156 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 20:58:56 +0000 (0:00:00.016) 0:00:01.173 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 20:58:56 +0000 (0:00:00.010) 0:00:01.184 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 20:58:56 +0000 (0:00:00.023) 0:00:01.207 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 20:58:57 +0000 (0:00:00.185) 0:00:01.393 ******* 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_rewrite196thrzi/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 20:58:57 +0000 (0:00:00.452) 0:00:01.845 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.198887", "end": "2024-02-09 20:58:57.853902", "rc": 0, "start": "2024-02-09 20:58:57.655015" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_rewrite196thrzi/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 20:58:57 +0000 (0:00:00.323) 0:00:02.169 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 20:58:57 +0000 (0:00:00.010) 0:00:02.179 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/tests_auto_gateway_nm.yml:11 Friday 09 February 2024 20:58:57 +0000 (0:00:00.009) 0:00:02.189 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 20:58:57 +0000 (0:00:00.017) 0:00:02.206 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 20:58:58 +0000 (0:00:00.528) 0:00:02.735 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:58:58 +0000 (0:00:00.025) 0:00:02.761 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:58:58 +0000 (0:00:00.012) 0:00:02.774 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003709", "end": "2024-02-09 20:58:58.584835", "rc": 0, "start": "2024-02-09 20:58:58.581126" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:58:58 +0000 (0:00:00.124) 0:00:02.898 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:58:58 +0000 (0:00:00.011) 0:00:02.910 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 20:58:58 +0000 (0:00:00.011) 0:00:02.921 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:58:58 +0000 (0:00:00.026) 0:00:02.947 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:58:58 +0000 (0:00:00.010) 0:00:02.958 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:58:58 +0000 (0:00:00.009) 0:00:02.967 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:58:58 +0000 (0:00:00.012) 0:00:02.980 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:58:58 +0000 (0:00:00.012) 0:00:02.992 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-02-09 20:58:58.805583", "rc": 0, "start": "2024-02-09 20:58:58.801853" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:58:58 +0000 (0:00:00.127) 0:00:03.120 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:58:58 +0000 (0:00:00.011) 0:00:03.131 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:58:58 +0000 (0:00:00.012) 0:00:03.144 ******* 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_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:58:59 +0000 (0:00:00.321) 0:00:03.465 ******* 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.009791", "end": "2024-02-09 20:58:59.287800", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 20:58:59.278009" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006678", "end": "2024-02-09 20:58:59.418978", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 20:58:59.412300" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006951", "end": "2024-02-09 20:58:59.542203", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 20:58:59.535252" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:58:59 +0000 (0:00:00.395) 0:00:03.861 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022737", "end": "2024-02-09 20:58:59.692241", "rc": 0, "start": "2024-02-09 20:58:59.669504" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:58:59 +0000 (0:00:00.146) 0:00:04.008 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:58:59 +0000 (0:00:00.009) 0:00:04.017 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:58:59 +0000 (0:00:00.009) 0:00:04.027 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:58:59 +0000 (0:00:00.010) 0:00:04.037 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:58:59 +0000 (0:00:00.011) 0:00:04.049 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 20:58:59 +0000 (0:00:00.009) 0:00:04.058 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:58:59 +0000 (0:00:00.024) 0:00:04.083 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:58:59 +0000 (0:00:00.012) 0:00:04.096 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707512339.2914066, "block_size": 4096, "blocks": 0, "ctime": 1707512339.2914066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17566, "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": 1707512339.2914066, "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_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:58:59 +0000 (0:00:00.127) 0:00:04.223 ******* 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_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 20:58:59 +0000 (0:00:00.012) 0:00:04.236 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:58:59 +0000 (0:00:00.012) 0:00:04.248 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:58:59 +0000 (0:00:00.018) 0:00:04.267 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:58:59 +0000 (0:00:00.021) 0:00:04.288 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:59:00 +0000 (0:00:00.015) 0:00:04.304 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:59:00 +0000 (0:00:00.014) 0:00:04.318 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:59:00 +0000 (0:00:00.958) 0:00:05.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:59:01 +0000 (0:00:00.901) 0:00:06.179 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:59:01 +0000 (0:00:00.022) 0:00:06.202 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:59:01 +0000 (0:00:00.023) 0:00:06.226 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:59:01 +0000 (0:00:00.023) 0:00:06.249 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:59:02 +0000 (0:00:00.056) 0:00:06.305 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:59:02 +0000 (0:00:00.023) 0:00:06.328 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:59:02 +0000 (0:00:00.023) 0:00:06.352 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:59:02 +0000 (0:00:00.067) 0:00:06.420 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:59:02 +0000 (0:00:00.441) 0:00:06.861 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:59:02 +0000 (0:00:00.037) 0:00:06.898 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:59:02 +0000 (0:00:00.020) 0:00:06.919 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:59:02 +0000 (0:00:00.018) 0:00:06.938 ******* 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, c51c220a-81cc-40d8-ba4d-7565efcd8380 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:59:03 +0000 (0:00:00.562) 0:00:07.501 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:59:03 +0000 (0:00:00.023) 0:00:07.524 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:59:03 +0000 (0:00:00.023) 0:00:07.548 ******* 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, c51c220a-81cc-40d8-ba4d-7565efcd8380\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c51c220a-81cc-40d8-ba4d-7565efcd8380 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:59:03 +0000 (0:00:00.025) 0:00:07.573 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:59:03 +0000 (0:00:00.024) 0:00:07.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 20:59:03 +0000 (0:00:00.257) 0:00:07.854 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:59:03 +0000 (0:00:00.044) 0:00:07.898 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:59:03 +0000 (0:00:00.029) 0:00:07.927 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707512339.9064043, "block_size": 4096, "blocks": 0, "ctime": 1707512339.2914066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17566, "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": 1707512339.2914066, "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_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:59:03 +0000 (0:00:00.133) 0:00:08.060 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 20:59:03 +0000 (0:00:00.021) 0:00:08.082 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:59:03 +0000 (0:00:00.088) 0:00:08.171 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:59:03 +0000 (0:00:00.031) 0:00:08.203 ******* 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:59:03 +0000 (0:00:00.021) 0:00:08.224 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707512343.189392, "block_size": 4096, "blocks": 8, "ctime": 1707512343.0683925, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707512343.0683925, "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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:59:04 +0000 (0:00:00.134) 0:00:08.359 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:59:04 +0000 (0:00:00.023) 0:00:08.382 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025931", "end": "2024-02-09 20:59:04.219841", "rc": 0, "start": "2024-02-09 20:59:04.193910" } 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:59:04 +0000 (0:00:00.162) 0:00:08.544 ******* 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:59:04 +0000 (0:00:00.023) 0:00:08.568 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:59:04 +0000 (0:00:00.020) 0:00:08.588 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:59:04 +0000 (0:00:00.020) 0:00:08.609 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:59:04 +0000 (0:00:00.020) 0:00:08.630 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:59:04 +0000 (0:00:00.022) 0:00:08.653 ******* 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_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:59:04 +0000 (0:00:00.024) 0:00:08.677 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:59:04 +0000 (0:00:00.024) 0:00:08.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 20:59:04 +0000 (0:00:00.022) 0:00:08.724 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003832", "end": "2024-02-09 20:59:04.536562", "rc": 0, "start": "2024-02-09 20:59:04.532730" } 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.13.41 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_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 20:59:04 +0000 (0:00:00.135) 0:00:08.860 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 20:59:04 +0000 (0:00:00.022) 0:00:08.883 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003768", "end": "2024-02-09 20:59:04.698510", "rc": 0, "start": "2024-02-09 20:59:04.694742" } 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_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 20:59:04 +0000 (0:00:00.138) 0:00:09.021 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 20:59:04 +0000 (0:00:00.022) 0:00:09.044 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:59:04 +0000 (0:00:00.022) 0:00:09.066 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:59:04 +0000 (0:00:00.066) 0:00:09.133 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:59:04 +0000 (0:00:00.036) 0:00:09.169 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:59:04 +0000 (0:00:00.025) 0:00:09.195 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:59:04 +0000 (0:00:00.024) 0:00:09.220 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:59:05 +0000 (0:00:00.818) 0:00:10.038 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:59:06 +0000 (0:00:00.676) 0:00:10.715 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:59:06 +0000 (0:00:00.023) 0:00:10.738 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:59:06 +0000 (0:00:00.033) 0:00:10.772 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:59:06 +0000 (0:00:00.024) 0:00:10.796 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:59:06 +0000 (0:00:00.054) 0:00:10.851 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:59:06 +0000 (0:00:00.025) 0:00:10.876 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:59:06 +0000 (0:00:00.022) 0:00:10.899 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:59:06 +0000 (0:00:00.035) 0:00:10.935 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:59:06 +0000 (0:00:00.249) 0:00:11.185 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:59:06 +0000 (0:00:00.039) 0:00:11.224 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:59:06 +0000 (0:00:00.020) 0:00:11.244 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:59:07 +0000 (0:00:00.066) 0:00:11.311 ******* 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:59:07 +0000 (0:00:00.410) 0:00:11.721 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:59:07 +0000 (0:00:00.024) 0:00:11.746 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:59:07 +0000 (0:00:00.024) 0:00:11.771 ******* 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:59:07 +0000 (0:00:00.024) 0:00:11.795 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:59:07 +0000 (0:00:00.023) 0:00:11.819 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 20:59:07 +0000 (0:00:00.143) 0:00:11.962 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:59:07 +0000 (0:00:00.046) 0:00:12.009 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:59:07 +0000 (0:00:00.020) 0:00:12.029 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:59:07 +0000 (0:00:00.020) 0:00:12.049 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:59:07 +0000 (0:00:00.032) 0:00:12.082 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:59:07 +0000 (0:00:00.030) 0:00:12.113 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003857", "end": "2024-02-09 20:59:07.926558", "rc": 0, "start": "2024-02-09 20:59:07.922701" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:59:07 +0000 (0:00:00.137) 0:00:12.250 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:59:07 +0000 (0:00:00.021) 0:00:12.271 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:59:07 +0000 (0:00:00.021) 0:00:12.292 ******* 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_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:59:08 +0000 (0:00:00.381) 0:00:12.673 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:59:08 +0000 (0:00:00.025) 0:00:12.699 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:59:08 +0000 (0:00:00.020) 0:00:12.720 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012399", "end": "2024-02-09 20:59:08.544304", "rc": 0, "start": "2024-02-09 20:59:08.531905" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:59:08 +0000 (0:00:00.148) 0:00:12.869 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:59:08 +0000 (0:00:00.021) 0:00:12.891 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:59:08 +0000 (0:00:00.021) 0:00:12.912 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:59:08 +0000 (0:00:00.021) 0:00:12.933 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 20:59:08 +0000 (0:00:00.022) 0:00:12.955 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 20:59:08 +0000 (0:00:00.022) 0:00:12.977 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:59:08 +0000 (0:00:00.049) 0:00:13.026 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:59:08 +0000 (0:00:00.020) 0:00:13.046 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:59:08 +0000 (0:00:00.020) 0:00:13.067 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:59:08 +0000 (0:00:00.032) 0:00:13.099 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:59:08 +0000 (0:00:00.030) 0:00:13.130 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-02-09 20:59:08.942362", "rc": 0, "start": "2024-02-09 20:59:08.938590" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:59:08 +0000 (0:00:00.136) 0:00:13.266 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:59:08 +0000 (0:00:00.021) 0:00:13.288 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:59:09 +0000 (0:00:00.070) 0:00:13.358 ******* 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_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:59:09 +0000 (0:00:00.338) 0:00:13.697 ******* 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.013002", "end": "2024-02-09 20:59:09.522814", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 20:59:09.509812" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006272", "end": "2024-02-09 20:59:09.648223", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 20:59:09.641951" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007329", "end": "2024-02-09 20:59:09.771426", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 20:59:09.764097" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:59:09 +0000 (0:00:00.401) 0:00:14.098 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023751", "end": "2024-02-09 20:59:09.932517", "rc": 0, "start": "2024-02-09 20:59:09.908766" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:59:09 +0000 (0:00:00.158) 0:00:14.257 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:59:09 +0000 (0:00:00.021) 0:00:14.279 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:59:09 +0000 (0:00:00.020) 0:00:14.299 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:59:10 +0000 (0:00:00.020) 0:00:14.320 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:59:10 +0000 (0:00:00.020) 0:00:14.340 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:59:10 +0000 (0:00:00.021) 0:00:14.362 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:59:10 +0000 (0:00:00.035) 0:00:14.397 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:59:10 +0000 (0:00:00.032) 0:00:14.430 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:59:10 +0000 (0:00:00.023) 0:00:14.454 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:59:10 +0000 (0:00:00.024) 0:00:14.479 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:59:10 +0000 (0:00:00.815) 0:00:15.295 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:59:11 +0000 (0:00:00.675) 0:00:15.970 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:59:11 +0000 (0:00:00.023) 0:00:15.994 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:59:11 +0000 (0:00:00.077) 0:00:16.072 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:59:11 +0000 (0:00:00.024) 0:00:16.096 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:59:11 +0000 (0:00:00.054) 0:00:16.150 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:59:11 +0000 (0:00:00.024) 0:00:16.175 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:59:11 +0000 (0:00:00.027) 0:00:16.203 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:59:11 +0000 (0:00:00.036) 0:00:16.239 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:59:12 +0000 (0:00:00.251) 0:00:16.491 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:59:12 +0000 (0:00:00.037) 0:00:16.528 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:59:12 +0000 (0:00:00.020) 0:00:16.549 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:59:12 +0000 (0:00:00.026) 0:00:16.575 ******* 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, 7904d399-3fa6-4d39-bb41-62088551ab73 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:59:12 +0000 (0:00:00.347) 0:00:16.923 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:59:12 +0000 (0:00:00.024) 0:00:16.948 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:59:12 +0000 (0:00:00.023) 0:00:16.972 ******* 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, 7904d399-3fa6-4d39-bb41-62088551ab73\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7904d399-3fa6-4d39-bb41-62088551ab73 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:59:12 +0000 (0:00:00.025) 0:00:16.997 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:59:12 +0000 (0:00:00.023) 0:00:17.021 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 20:59:12 +0000 (0:00:00.144) 0:00:17.165 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:59:12 +0000 (0:00:00.048) 0:00:17.213 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:59:12 +0000 (0:00:00.081) 0:00:17.294 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707512349.5213687, "block_size": 4096, "blocks": 0, "ctime": 1707512349.5203688, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17567, "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": 1707512349.5203688, "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_rewrite196thrzi/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:59:13 +0000 (0:00:00.134) 0:00:17.429 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 20:59:13 +0000 (0:00:00.024) 0:00:17.453 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:59:13 +0000 (0:00:00.050) 0:00:17.503 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:59:13 +0000 (0:00:00.032) 0:00:17.536 ******* 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:59:13 +0000 (0:00:00.023) 0:00:17.559 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707512352.5863574, "block_size": 4096, "blocks": 8, "ctime": 1707512352.5443575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707512352.5443575, "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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:59:13 +0000 (0:00:00.134) 0:00:17.694 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:59:13 +0000 (0:00:00.022) 0:00:17.716 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024656", "end": "2024-02-09 20:59:13.550342", "rc": 0, "start": "2024-02-09 20:59:13.525686" } 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:59:13 +0000 (0:00:00.160) 0:00:17.877 ******* 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_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:59:13 +0000 (0:00:00.023) 0:00:17.901 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:59:13 +0000 (0:00:00.021) 0:00:17.922 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:59:13 +0000 (0:00:00.021) 0:00:17.944 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:59:13 +0000 (0:00:00.023) 0:00:17.967 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:59:13 +0000 (0:00:00.021) 0:00:17.989 ******* 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_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:59:13 +0000 (0:00:00.023) 0:00:18.012 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:59:13 +0000 (0:00:00.023) 0:00:18.035 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 20:59:13 +0000 (0:00:00.022) 0:00:18.058 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003603", "end": "2024-02-09 20:59:13.873525", "rc": 0, "start": "2024-02-09 20:59:13.869922" } 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.13.41 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_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 20:59:13 +0000 (0:00:00.181) 0:00:18.240 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 20:59:13 +0000 (0:00:00.022) 0:00:18.263 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003674", "end": "2024-02-09 20:59:14.077797", "rc": 0, "start": "2024-02-09 20:59:14.074123" } 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_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 20:59:14 +0000 (0:00:00.139) 0:00:18.402 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 20:59:14 +0000 (0:00:00.023) 0:00:18.425 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:59:14 +0000 (0:00:00.024) 0:00:18.449 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:59:14 +0000 (0:00:00.037) 0:00:18.487 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:59:14 +0000 (0:00:00.035) 0:00:18.522 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:59:14 +0000 (0:00:00.024) 0:00:18.547 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:59:14 +0000 (0:00:00.025) 0:00:18.572 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:59:15 +0000 (0:00:00.814) 0:00:19.386 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:59:15 +0000 (0:00:00.676) 0:00:20.063 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:59:15 +0000 (0:00:00.025) 0:00:20.088 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:59:15 +0000 (0:00:00.025) 0:00:20.114 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:59:15 +0000 (0:00:00.023) 0:00:20.138 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:59:15 +0000 (0:00:00.059) 0:00:20.197 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:59:15 +0000 (0:00:00.023) 0:00:20.220 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:59:15 +0000 (0:00:00.071) 0:00:20.292 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:59:16 +0000 (0:00:00.036) 0:00:20.329 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:59:16 +0000 (0:00:00.251) 0:00:20.580 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:59:16 +0000 (0:00:00.036) 0:00:20.616 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:59:16 +0000 (0:00:00.020) 0:00:20.637 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:59:16 +0000 (0:00:00.021) 0:00:20.658 ******* 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:59:16 +0000 (0:00:00.388) 0:00:21.047 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:59:16 +0000 (0:00:00.026) 0:00:21.073 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:59:16 +0000 (0:00:00.023) 0:00:21.097 ******* 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:59:16 +0000 (0:00:00.026) 0:00:21.124 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:59:16 +0000 (0:00:00.025) 0:00:21.150 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 20:59:16 +0000 (0:00:00.144) 0:00:21.294 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:59:17 +0000 (0:00:00.052) 0:00:21.347 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:59:17 +0000 (0:00:00.020) 0:00:21.367 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:59:17 +0000 (0:00:00.021) 0:00:21.388 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:59:17 +0000 (0:00:00.030) 0:00:21.419 ******* included: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:59:17 +0000 (0:00:00.084) 0:00:21.504 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-02-09 20:59:17.318540", "rc": 0, "start": "2024-02-09 20:59:17.314804" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:59:17 +0000 (0:00:00.138) 0:00:21.643 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:59:17 +0000 (0:00:00.022) 0:00:21.665 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:59:17 +0000 (0:00:00.023) 0:00:21.688 ******* 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_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:59:17 +0000 (0:00:00.336) 0:00:22.025 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:59:17 +0000 (0:00:00.027) 0:00:22.052 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:59:17 +0000 (0:00:00.021) 0:00:22.074 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012389", "end": "2024-02-09 20:59:17.896956", "rc": 0, "start": "2024-02-09 20:59:17.884567" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:59:17 +0000 (0:00:00.149) 0:00:22.223 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:59:17 +0000 (0:00:00.022) 0:00:22.246 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:59:17 +0000 (0:00:00.022) 0:00:22.268 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:59:17 +0000 (0:00:00.022) 0:00:22.291 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=130 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Friday 09 February 2024 20:59:18 +0000 (0:00:00.051) 0:00:22.343 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.96s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewrite196thrzi/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tests_auto_gateway.yml:3 Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewrite196thrzi/tests/tasks/enable_epel.yml:24 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Create veth interface veth0 --------------------------------------------- 0.40s /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.40s /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Install iproute --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.35s /WORKDIR/git-bond_options_rewrite196thrzi/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewrite196thrzi/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---