# 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-route_type9uyytcca/.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-route_type9uyytcca/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-route_type9uyytcca/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 16:33:02 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type9uyytcca/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.689) 0:00:00.701 ******* included: /WORKDIR/git-route_type9uyytcca/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-route_type9uyytcca/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.024) 0:00:00.726 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.236) 0:00:00.963 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.188) 0:00:01.151 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.017) 0:00:01.168 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.008) 0:00:01.177 ******* included: /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.021) 0:00:01.198 ******* 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-route_type9uyytcca/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:33:03 +0000 (0:00:00.195) 0:00:01.394 ******* 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-route_type9uyytcca/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:33:04 +0000 (0:00:00.425) 0:00:01.819 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177576", "end": "2024-01-09 16:33:04.700787", "rc": 0, "start": "2024-01-09 16:33:04.523211" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:33:04 +0000 (0:00:00.303) 0:00:02.122 ******* 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-route_type9uyytcca/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:33:04 +0000 (0:00:00.015) 0:00:02.137 ******* 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-route_type9uyytcca/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 16:33:04 +0000 (0:00:00.009) 0:00:02.147 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 16:33:04 +0000 (0:00:00.019) 0:00:02.166 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.511) 0:00:02.677 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.029) 0:00:02.707 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.011) 0:00:02.718 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-01-09 16:33:05.424663", "rc": 0, "start": "2024-01-09 16:33:05.420939" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.138) 0:00:02.856 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.021) 0:00:02.878 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.011) 0:00:02.889 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.031) 0:00:02.921 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.015) 0:00:02.936 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.017) 0:00:02.954 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.029) 0:00:02.983 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.013) 0:00:02.997 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2024-01-09 16:33:05.739150", "rc": 0, "start": "2024-01-09 16:33:05.735503" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.169) 0:00:03.167 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.010) 0:00:03.177 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:33:05 +0000 (0:00:00.013) 0:00:03.191 ******* ok: [sut] => { "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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.308) 0:00:03.499 ******* 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.013119", "end": "2024-01-09 16:33:06.221310", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:33:06.208191" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003562", "end": "2024-01-09 16:33:06.357569", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:33:06.354007" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004121", "end": "2024-01-09 16:33:06.477070", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:33:06.472949" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.399) 0:00:03.898 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023402", "end": "2024-01-09 16:33:06.625059", "rc": 0, "start": "2024-01-09 16:33:06.601657" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.151) 0:00:04.050 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.032) 0:00:04.083 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.033) 0:00:04.116 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.034) 0:00:04.150 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.018) 0:00:04.169 ******* 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.009) 0:00:04.179 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.042) 0:00:04.221 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.013) 0:00:04.235 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817986.2194412, "block_size": 4096, "blocks": 0, "ctime": 1704817986.2194412, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17693, "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": 1704817986.2194412, "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-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.122) 0:00:04.357 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.011) 0:00:04.369 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.011) 0:00:04.380 ******* included: /WORKDIR/git-route_type9uyytcca/.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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:33:06 +0000 (0:00:00.019) 0:00:04.400 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:33:07 +0000 (0:00:00.022) 0:00:04.422 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:33:07 +0000 (0:00:00.012) 0:00:04.434 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:33:07 +0000 (0:00:00.013) 0:00:04.447 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:33:07 +0000 (0:00:00.836) 0:00:05.284 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:33:09 +0000 (0:00:01.175) 0:00:06.460 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.023) 0:00:06.484 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.033) 0:00:06.518 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.034) 0:00:06.553 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.058) 0:00:06.611 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.022) 0:00:06.633 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.045) 0:00:06.679 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.059) 0:00:06.738 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.498) 0:00:07.236 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.046) 0:00:07.282 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.023) 0:00:07.305 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:33:09 +0000 (0:00:00.025) 0:00:07.331 ******* 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, 0f8c564d-459c-419d-995d-7746dcc6bbf2 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.579) 0:00:07.910 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.022) 0:00:07.932 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.024) 0:00:07.957 ******* 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, 0f8c564d-459c-419d-995d-7746dcc6bbf2\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0f8c564d-459c-419d-995d-7746dcc6bbf2 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.030) 0:00:07.987 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.022) 0:00:08.009 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.252) 0:00:08.262 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.042) 0:00:08.305 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:33:10 +0000 (0:00:00.038) 0:00:08.343 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817986.9364176, "block_size": 4096, "blocks": 0, "ctime": 1704817986.2194412, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17693, "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": 1704817986.2194412, "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-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.172) 0:00:08.516 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.021) 0:00:08.538 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.071) 0:00:08.609 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.030) 0:00:08.639 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.019) 0:00:08.659 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817990.5123, "block_size": 4096, "blocks": 8, "ctime": 1704817990.4123034, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704817990.4123034, "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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.165) 0:00:08.825 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.026) 0:00:08.851 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025286", "end": "2024-01-09 16:33:11.592288", "rc": 0, "start": "2024-01-09 16:33:11.567002" } 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.191) 0:00:09.043 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.046) 0:00:09.089 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.032) 0:00:09.122 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.022) 0:00:09.145 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.027) 0:00:09.172 ******* 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-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.023) 0:00:09.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.023) 0:00:09.219 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.022) 0:00:09.241 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 16:33:11 +0000 (0:00:00.033) 0:00:09.275 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003718", "end": "2024-01-09 16:33:12.002535", "rc": 0, "start": "2024-01-09 16:33:11.998817" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.83 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.157) 0:00:09.433 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.028) 0:00:09.461 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003975", "end": "2024-01-09 16:33:12.171605", "rc": 0, "start": "2024-01-09 16:33:12.167630" } 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.155) 0:00:09.616 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.035) 0:00:09.652 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.021) 0:00:09.674 ******* included: /WORKDIR/git-route_type9uyytcca/.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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.064) 0:00:09.739 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.034) 0:00:09.773 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.023) 0:00:09.796 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:33:12 +0000 (0:00:00.020) 0:00:09.817 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:33:13 +0000 (0:00:00.764) 0:00:10.582 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.958) 0:00:11.541 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.022) 0:00:11.563 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.021) 0:00:11.585 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.026) 0:00:11.612 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.072) 0:00:11.685 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.026) 0:00:11.711 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.030) 0:00:11.741 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.043) 0:00:11.785 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.253) 0:00:12.038 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.036) 0:00:12.075 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.018) 0:00:12.093 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:33:14 +0000 (0:00:00.054) 0:00:12.147 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.433) 0:00:12.581 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.022) 0:00:12.604 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.021) 0:00:12.625 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.021) 0:00:12.647 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.038) 0:00:12.685 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.147) 0:00:12.833 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.053) 0:00:12.887 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.017) 0:00:12.905 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.016) 0:00:12.921 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.028) 0:00:12.950 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.027) 0:00:12.978 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003696", "end": "2024-01-09 16:33:15.690600", "rc": 0, "start": "2024-01-09 16:33:15.686904" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.141) 0:00:13.119 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.033) 0:00:13.152 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:33:15 +0000 (0:00:00.020) 0:00:13.172 ******* ok: [sut] => { "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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.391) 0:00:13.564 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.024) 0:00:13.588 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.017) 0:00:13.605 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011770", "end": "2024-01-09 16:33:16.325250", "rc": 0, "start": "2024-01-09 16:33:16.313480" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.151) 0:00:13.757 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.019) 0:00:13.776 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.018) 0:00:13.795 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.018) 0:00:13.813 ******* 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.018) 0:00:13.832 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.020) 0:00:13.852 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.043) 0:00:13.895 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.017) 0:00:13.913 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.017) 0:00:13.931 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.029) 0:00:13.960 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.042) 0:00:14.002 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003778", "end": "2024-01-09 16:33:16.718223", "rc": 0, "start": "2024-01-09 16:33:16.714445" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.150) 0:00:14.153 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.023) 0:00:14.177 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:33:16 +0000 (0:00:00.057) 0:00:14.234 ******* ok: [sut] => { "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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.329) 0:00:14.564 ******* 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.010064", "end": "2024-01-09 16:33:17.283888", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:33:17.273824" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003789", "end": "2024-01-09 16:33:17.409197", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:33:17.405408" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004640", "end": "2024-01-09 16:33:17.538594", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:33:17.533954" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.411) 0:00:14.975 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.036597", "end": "2024-01-09 16:33:17.781446", "rc": 0, "start": "2024-01-09 16:33:17.744849" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.247) 0:00:15.223 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.022) 0:00:15.245 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.043) 0:00:15.289 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.036) 0:00:15.325 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:33:17 +0000 (0:00:00.058) 0:00:15.384 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.032) 0:00:15.417 ******* included: /WORKDIR/git-route_type9uyytcca/.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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.036) 0:00:15.453 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.035) 0:00:15.489 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.025) 0:00:15.514 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.036) 0:00:15.551 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:33:18 +0000 (0:00:00.787) 0:00:16.338 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:33:19 +0000 (0:00:00.984) 0:00:17.323 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:33:19 +0000 (0:00:00.063) 0:00:17.387 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.023) 0:00:17.410 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.026) 0:00:17.436 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.070) 0:00:17.506 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.050) 0:00:17.556 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.040) 0:00:17.596 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.067) 0:00:17.664 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.572) 0:00:18.237 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:33:20 +0000 (0:00:00.122) 0:00:18.359 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.055) 0:00:18.415 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.067) 0:00:18.482 ******* 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, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.477) 0:00:18.959 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.126) 0:00:19.085 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.047) 0:00:19.133 ******* 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, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d4ef4d18-0bdf-41cc-8f8e-8360ee8dd7cc (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.113) 0:00:19.246 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:33:21 +0000 (0:00:00.086) 0:00:19.332 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.194) 0:00:19.527 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.107) 0:00:19.634 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.047) 0:00:19.682 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817997.2850773, "block_size": 4096, "blocks": 0, "ctime": 1704817997.2840772, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17694, "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": 1704817997.2840772, "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-route_type9uyytcca/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.186) 0:00:19.869 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.112) 0:00:19.981 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.091) 0:00:20.073 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.045) 0:00:20.119 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.026) 0:00:20.145 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818001.4619398, "block_size": 4096, "blocks": 8, "ctime": 1704818001.399942, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25408, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818001.399942, "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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:33:22 +0000 (0:00:00.242) 0:00:20.388 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.051) 0:00:20.439 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024729", "end": "2024-01-09 16:33:23.188818", "rc": 0, "start": "2024-01-09 16:33:23.164089" } 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.227) 0:00:20.666 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.029) 0:00:20.696 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.036) 0:00:20.732 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.046) 0:00:20.779 ******* 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-route_type9uyytcca/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.069) 0:00:20.848 ******* 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-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.050) 0:00:20.898 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.044) 0:00:20.943 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.131) 0:00:21.075 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.036) 0:00:21.111 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003742", "end": "2024-01-09 16:33:23.820719", "rc": 0, "start": "2024-01-09 16:33:23.816977" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.83 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.163) 0:00:21.275 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 16:33:23 +0000 (0:00:00.042) 0:00:21.318 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003699", "end": "2024-01-09 16:33:24.083272", "rc": 0, "start": "2024-01-09 16:33:24.079573" } 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-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.199) 0:00:21.517 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.023) 0:00:21.541 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.023) 0:00:21.564 ******* included: /WORKDIR/git-route_type9uyytcca/.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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.042) 0:00:21.607 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.045) 0:00:21.652 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.021) 0:00:21.674 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:33:24 +0000 (0:00:00.032) 0:00:21.706 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:33:25 +0000 (0:00:00.745) 0:00:22.452 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.971) 0:00:23.423 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.037) 0:00:23.461 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.023) 0:00:23.484 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.026) 0:00:23.511 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.153) 0:00:23.665 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.056) 0:00:23.721 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.062) 0:00:23.784 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.060) 0:00:23.844 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.315) 0:00:24.159 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.038) 0:00:24.197 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.028) 0:00:24.226 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:33:26 +0000 (0:00:00.026) 0:00:24.253 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.478) 0:00:24.731 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.046) 0:00:24.777 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.048) 0:00:24.826 ******* 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-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.065) 0:00:24.891 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.062) 0:00:24.954 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.207) 0:00:25.162 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.077) 0:00:25.239 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.035) 0:00:25.275 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.019) 0:00:25.295 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:33:27 +0000 (0:00:00.099) 0:00:25.394 ******* included: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.060) 0:00:25.455 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003707", "end": "2024-01-09 16:33:28.216565", "rc": 0, "start": "2024-01-09 16:33:28.212858" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.220) 0:00:25.675 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.035) 0:00:25.711 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.028) 0:00:25.740 ******* ok: [sut] => { "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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.381) 0:00:26.122 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.090) 0:00:26.212 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:33:28 +0000 (0:00:00.050) 0:00:26.262 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011674", "end": "2024-01-09 16:33:29.008192", "rc": 0, "start": "2024-01-09 16:33:28.996518" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:33:29 +0000 (0:00:00.198) 0:00:26.460 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:33:29 +0000 (0:00:00.103) 0:00:26.564 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:33:29 +0000 (0:00:00.042) 0:00:26.606 ******* 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-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:33:29 +0000 (0:00:00.038) 0:00:26.645 ******* 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 Tuesday 09 January 2024 16:33:29 +0000 (0:00:00.053) 0:00:26.698 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /WORKDIR/git-route_type9uyytcca/.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.98s /WORKDIR/git-route_type9uyytcca/.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.97s /WORKDIR/git-route_type9uyytcca/.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.96s /WORKDIR/git-route_type9uyytcca/.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.84s /WORKDIR/git-route_type9uyytcca/.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.79s /WORKDIR/git-route_type9uyytcca/.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.76s /WORKDIR/git-route_type9uyytcca/.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.75s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-route_type9uyytcca/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-route_type9uyytcca/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.50s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-route_type9uyytcca/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install yum-utils package ----------------------------------------------- 0.43s /WORKDIR/git-route_type9uyytcca/tests/tasks/enable_epel.yml:24 ---------------- Create veth interface veth0 --------------------------------------------- 0.41s /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.40s /WORKDIR/git-route_type9uyytcca/tests/playbooks/tasks/manage_test_interface.yml:23 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-route_type9uyytcca/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. ---^---^---^---^---^---