# 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_typelth7gxlb/.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_typelth7gxlb/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_typelth7gxlb/tests/tests_auto_gateway_nm.yml:6 Friday 12 January 2024 18:13:50 +0000 (0:00:00.019) 0:00:00.019 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typelth7gxlb/tests/tests_auto_gateway_nm.yml:9 Friday 12 January 2024 18:13:51 +0000 (0:00:00.886) 0:00:00.906 ******** included: /WORKDIR/git-route_typelth7gxlb/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_typelth7gxlb/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:13:51 +0000 (0:00:00.032) 0:00:00.939 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:17 Friday 12 January 2024 18:13:51 +0000 (0:00:00.294) 0:00:01.233 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:22 Friday 12 January 2024 18:13:51 +0000 (0:00:00.293) 0:00:01.526 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:26 Friday 12 January 2024 18:13:51 +0000 (0:00:00.031) 0:00:01.558 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/el_repo_setup.yml:51 Friday 12 January 2024 18:13:51 +0000 (0:00:00.010) 0:00:01.568 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:13:51 +0000 (0:00:00.026) 0:00:01.594 ******** 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_typelth7gxlb/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:13:52 +0000 (0:00:00.299) 0:00:01.893 ******** 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_typelth7gxlb/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:13:52 +0000 (0:00:00.489) 0:00:02.383 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.199216", "end": "2024-01-12 18:13:52.983682", "rc": 0, "start": "2024-01-12 18:13:52.784466" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:13:53 +0000 (0:00:00.336) 0:00:02.720 ******** 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_typelth7gxlb/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:13:53 +0000 (0:00:00.012) 0:00:02.732 ******** 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_typelth7gxlb/tests/tests_auto_gateway_nm.yml:11 Friday 12 January 2024 18:13:53 +0000 (0:00:00.011) 0:00:02.744 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.032) 0:00:02.777 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:9 Friday 12 January 2024 18:13:53 +0000 (0:00:00.539) 0:00:03.316 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.023) 0:00:03.340 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.010) 0:00:03.351 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003938", "end": "2024-01-12 18:13:53.755302", "rc": 0, "start": "2024-01-12 18:13:53.751364" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:13:53 +0000 (0:00:00.134) 0:00:03.485 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:13:53 +0000 (0:00:00.011) 0:00:03.497 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:11 Friday 12 January 2024 18:13:53 +0000 (0:00:00.014) 0:00:03.512 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.025) 0:00:03.537 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:13:53 +0000 (0:00:00.009) 0:00:03.547 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:13:53 +0000 (0:00:00.009) 0:00:03.556 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.013) 0:00:03.570 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:13:53 +0000 (0:00:00.011) 0:00:03.582 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-01-12 18:13:54.010867", "rc": 0, "start": "2024-01-12 18:13:54.007107" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:13:54 +0000 (0:00:00.157) 0:00:03.739 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:13:54 +0000 (0:00:00.009) 0:00:03.749 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:13:54 +0000 (0:00:00.010) 0:00:03.759 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 Friday 12 January 2024 18:13:54 +0000 (0:00:00.324) 0:00:04.084 ******** 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.011003", "end": "2024-01-12 18:13:54.504906", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 18:13:54.493903" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006317", "end": "2024-01-12 18:13:54.652387", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 18:13:54.646070" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006483", "end": "2024-01-12 18:13:54.788442", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 18:13:54.781959" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:31 Friday 12 January 2024 18:13:54 +0000 (0:00:00.438) 0:00:04.523 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023047", "end": "2024-01-12 18:13:54.943372", "rc": 0, "start": "2024-01-12 18:13:54.920325" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:39 Friday 12 January 2024 18:13:54 +0000 (0:00:00.163) 0:00:04.686 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 12 January 2024 18:13:54 +0000 (0:00:00.020) 0:00:04.706 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:50 Friday 12 January 2024 18:13:55 +0000 (0:00:00.026) 0:00:04.733 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:56 Friday 12 January 2024 18:13:55 +0000 (0:00:00.010) 0:00:04.743 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:13:55 +0000 (0:00:00.023) 0:00:04.767 ******** 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:15 Friday 12 January 2024 18:13:55 +0000 (0:00:00.008) 0:00:04.776 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:13:55 +0000 (0:00:00.023) 0:00:04.800 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:13:55 +0000 (0:00:00.016) 0:00:04.816 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083234.5045202, "block_size": 4096, "blocks": 0, "ctime": 1705083234.5045202, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17565, "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": 1705083234.5045202, "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_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:13:55 +0000 (0:00:00.129) 0:00:04.946 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:17 Friday 12 January 2024 18:13:55 +0000 (0:00:00.014) 0:00:04.960 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:13:55 +0000 (0:00:00.011) 0:00:04.972 ******** included: /WORKDIR/git-route_typelth7gxlb/.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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:13:55 +0000 (0:00:00.017) 0:00:04.989 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:13:55 +0000 (0:00:00.019) 0:00:05.008 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:13:55 +0000 (0:00:00.017) 0:00:05.026 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:13:55 +0000 (0:00:00.015) 0:00:05.041 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:13:56 +0000 (0:00:00.962) 0:00:06.003 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:13:57 +0000 (0:00:01.023) 0:00:07.026 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:13:57 +0000 (0:00:00.024) 0:00:07.051 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:13:57 +0000 (0:00:00.038) 0:00:07.089 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:13:57 +0000 (0:00:00.038) 0:00:07.127 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:13:57 +0000 (0:00:00.065) 0:00:07.192 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:13:57 +0000 (0:00:00.023) 0:00:07.216 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:13:57 +0000 (0:00:00.039) 0:00:07.255 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:13:57 +0000 (0:00:00.117) 0:00:07.373 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:13:58 +0000 (0:00:00.749) 0:00:08.123 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:13:58 +0000 (0:00:00.035) 0:00:08.159 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:13:58 +0000 (0:00:00.019) 0:00:08.178 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:13:58 +0000 (0:00:00.031) 0:00:08.210 ******** 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, 25f8c89e-ce04-4338-8658-edd070455e05 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:13:59 +0000 (0:00:00.562) 0:00:08.772 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:13:59 +0000 (0:00:00.034) 0:00:08.806 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:13:59 +0000 (0:00:00.025) 0:00:08.832 ******** 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, 25f8c89e-ce04-4338-8658-edd070455e05\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 25f8c89e-ce04-4338-8658-edd070455e05 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:13:59 +0000 (0:00:00.034) 0:00:08.866 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:13:59 +0000 (0:00:00.034) 0:00:08.900 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:42 Friday 12 January 2024 18:13:59 +0000 (0:00:00.275) 0:00:09.176 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:13:59 +0000 (0:00:00.062) 0:00:09.238 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:13:59 +0000 (0:00:00.032) 0:00:09.271 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083235.2115119, "block_size": 4096, "blocks": 0, "ctime": 1705083234.5045202, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17565, "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": 1705083234.5045202, "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_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:13:59 +0000 (0:00:00.144) 0:00:09.415 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:44 Friday 12 January 2024 18:13:59 +0000 (0:00:00.031) 0:00:09.446 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:13:59 +0000 (0:00:00.095) 0:00:09.542 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:13:59 +0000 (0:00:00.046) 0:00:09.589 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:13:59 +0000 (0:00:00.032) 0:00:09.621 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083239.0374677, "block_size": 4096, "blocks": 8, "ctime": 1705083238.9464688, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468702, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083238.9464688, "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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:14:00 +0000 (0:00:00.148) 0:00:09.770 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:14:00 +0000 (0:00:00.026) 0:00:09.796 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024407", "end": "2024-01-12 18:14:00.239011", "rc": 0, "start": "2024-01-12 18:14:00.214604" } 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:14:00 +0000 (0:00:00.189) 0:00:09.986 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:14:00 +0000 (0:00:00.032) 0:00:10.018 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:14:00 +0000 (0:00:00.023) 0:00:10.042 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:14:00 +0000 (0:00:00.039) 0:00:10.082 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:14:00 +0000 (0:00:00.029) 0:00:10.111 ******** 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_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:14:00 +0000 (0:00:00.034) 0:00:10.145 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:14:00 +0000 (0:00:00.027) 0:00:10.172 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:14:00 +0000 (0:00:00.044) 0:00:10.217 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:48 Friday 12 January 2024 18:14:00 +0000 (0:00:00.047) 0:00:10.264 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003877", "end": "2024-01-12 18:14:00.672503", "rc": 0, "start": "2024-01-12 18:14:00.668626" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.84 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:52 Friday 12 January 2024 18:14:00 +0000 (0:00:00.185) 0:00:10.449 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:58 Friday 12 January 2024 18:14:00 +0000 (0:00:00.033) 0:00:10.482 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003791", "end": "2024-01-12 18:14:00.892050", "rc": 0, "start": "2024-01-12 18:14:00.888259" } 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:62 Friday 12 January 2024 18:14:00 +0000 (0:00:00.171) 0:00:10.654 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:69 Friday 12 January 2024 18:14:00 +0000 (0:00:00.033) 0:00:10.687 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:14:01 +0000 (0:00:00.043) 0:00:10.731 ******** included: /WORKDIR/git-route_typelth7gxlb/.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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:14:01 +0000 (0:00:00.084) 0:00:10.816 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:14:01 +0000 (0:00:00.047) 0:00:10.863 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:14:01 +0000 (0:00:00.027) 0:00:10.890 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:14:01 +0000 (0:00:00.027) 0:00:10.918 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:14:02 +0000 (0:00:00.826) 0:00:11.745 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:14:02 +0000 (0:00:00.741) 0:00:12.486 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:14:02 +0000 (0:00:00.024) 0:00:12.510 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:14:02 +0000 (0:00:00.022) 0:00:12.533 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:14:02 +0000 (0:00:00.024) 0:00:12.557 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:14:02 +0000 (0:00:00.053) 0:00:12.610 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:14:02 +0000 (0:00:00.025) 0:00:12.636 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:14:02 +0000 (0:00:00.025) 0:00:12.662 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:14:02 +0000 (0:00:00.050) 0:00:12.712 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:14:03 +0000 (0:00:00.289) 0:00:13.002 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:14:03 +0000 (0:00:00.054) 0:00:13.056 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:14:03 +0000 (0:00:00.025) 0:00:13.082 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:14:03 +0000 (0:00:00.115) 0:00:13.197 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:14:03 +0000 (0:00:00.430) 0:00:13.628 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:14:03 +0000 (0:00:00.043) 0:00:13.672 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:14:04 +0000 (0:00:00.079) 0:00:13.752 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:14:04 +0000 (0:00:00.030) 0:00:13.782 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:14:04 +0000 (0:00:00.041) 0:00:13.823 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:81 Friday 12 January 2024 18:14:04 +0000 (0:00:00.159) 0:00:13.983 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:14:04 +0000 (0:00:00.099) 0:00:14.082 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:14:04 +0000 (0:00:00.022) 0:00:14.104 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:14:04 +0000 (0:00:00.020) 0:00:14.125 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:14:04 +0000 (0:00:00.029) 0:00:14.154 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:14:04 +0000 (0:00:00.067) 0:00:14.222 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003739", "end": "2024-01-12 18:14:04.684024", "rc": 0, "start": "2024-01-12 18:14:04.680285" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:14:04 +0000 (0:00:00.218) 0:00:14.441 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:14:04 +0000 (0:00:00.038) 0:00:14.480 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:14:04 +0000 (0:00:00.053) 0:00:14.533 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 Friday 12 January 2024 18:14:05 +0000 (0:00:00.482) 0:00:15.016 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:31 Friday 12 January 2024 18:14:05 +0000 (0:00:00.071) 0:00:15.087 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:39 Friday 12 January 2024 18:14:05 +0000 (0:00:00.032) 0:00:15.119 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012947", "end": "2024-01-12 18:14:05.531493", "rc": 0, "start": "2024-01-12 18:14:05.518546" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 12 January 2024 18:14:05 +0000 (0:00:00.191) 0:00:15.311 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:50 Friday 12 January 2024 18:14:05 +0000 (0:00:00.049) 0:00:15.360 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:56 Friday 12 January 2024 18:14:05 +0000 (0:00:00.063) 0:00:15.424 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:14:05 +0000 (0:00:00.034) 0:00:15.459 ******** 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:85 Friday 12 January 2024 18:14:05 +0000 (0:00:00.022) 0:00:15.481 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:89 Friday 12 January 2024 18:14:05 +0000 (0:00:00.021) 0:00:15.502 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:14:05 +0000 (0:00:00.052) 0:00:15.555 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:14:05 +0000 (0:00:00.024) 0:00:15.580 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:14:05 +0000 (0:00:00.022) 0:00:15.602 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:14:05 +0000 (0:00:00.029) 0:00:15.631 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:14:05 +0000 (0:00:00.037) 0:00:15.669 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003806", "end": "2024-01-12 18:14:06.113666", "rc": 0, "start": "2024-01-12 18:14:06.109860" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:14:06 +0000 (0:00:00.197) 0:00:15.866 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:14:06 +0000 (0:00:00.066) 0:00:15.933 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:14:06 +0000 (0:00:00.145) 0:00:16.078 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 Friday 12 January 2024 18:14:06 +0000 (0:00:00.422) 0:00:16.501 ******** 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.011010", "end": "2024-01-12 18:14:06.946376", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 18:14:06.935366" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006345", "end": "2024-01-12 18:14:07.086248", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 18:14:07.079903" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007590", "end": "2024-01-12 18:14:07.227099", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 18:14:07.219509" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:31 Friday 12 January 2024 18:14:07 +0000 (0:00:00.474) 0:00:16.976 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023364", "end": "2024-01-12 18:14:07.418479", "rc": 0, "start": "2024-01-12 18:14:07.395115" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:39 Friday 12 January 2024 18:14:07 +0000 (0:00:00.182) 0:00:17.159 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 12 January 2024 18:14:07 +0000 (0:00:00.036) 0:00:17.195 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:50 Friday 12 January 2024 18:14:07 +0000 (0:00:00.034) 0:00:17.230 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:56 Friday 12 January 2024 18:14:07 +0000 (0:00:00.030) 0:00:17.261 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:14:07 +0000 (0:00:00.044) 0:00:17.305 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:14:07 +0000 (0:00:00.062) 0:00:17.367 ******** included: /WORKDIR/git-route_typelth7gxlb/.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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:14:07 +0000 (0:00:00.058) 0:00:17.426 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:14:07 +0000 (0:00:00.077) 0:00:17.504 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:14:07 +0000 (0:00:00.056) 0:00:17.561 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:14:07 +0000 (0:00:00.025) 0:00:17.586 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:14:08 +0000 (0:00:00.881) 0:00:18.468 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:14:09 +0000 (0:00:00.681) 0:00:19.149 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:14:09 +0000 (0:00:00.027) 0:00:19.177 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:14:09 +0000 (0:00:00.064) 0:00:19.241 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:14:09 +0000 (0:00:00.022) 0:00:19.263 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:14:09 +0000 (0:00:00.062) 0:00:19.326 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:14:09 +0000 (0:00:00.025) 0:00:19.351 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:14:09 +0000 (0:00:00.027) 0:00:19.379 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:14:09 +0000 (0:00:00.036) 0:00:19.415 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:14:09 +0000 (0:00:00.253) 0:00:19.669 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:14:10 +0000 (0:00:00.061) 0:00:19.731 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:14:10 +0000 (0:00:00.030) 0:00:19.761 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:14:10 +0000 (0:00:00.042) 0:00:19.804 ******** 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, cd05b449-4d77-4ebc-a2d6-736800f028fc [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc (is-modified) [005] #0, state:up persistent_state:present, 'veth0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:14:10 +0000 (0:00:00.373) 0:00:20.177 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:14:10 +0000 (0:00:00.043) 0:00:20.220 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:14:10 +0000 (0:00:00.049) 0:00:20.269 ******** 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, cd05b449-4d77-4ebc-a2d6-736800f028fc\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cd05b449-4d77-4ebc-a2d6-736800f028fc (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:14:10 +0000 (0:00:00.064) 0:00:20.334 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:14:10 +0000 (0:00:00.079) 0:00:20.413 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:110 Friday 12 January 2024 18:14:10 +0000 (0:00:00.201) 0:00:20.615 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:14:10 +0000 (0:00:00.047) 0:00:20.663 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:14:11 +0000 (0:00:00.071) 0:00:20.735 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083250.339337, "block_size": 4096, "blocks": 0, "ctime": 1705083246.9453762, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1705083246.9453762, "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_typelth7gxlb/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:14:11 +0000 (0:00:00.155) 0:00:20.890 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:112 Friday 12 January 2024 18:14:11 +0000 (0:00:00.021) 0:00:20.912 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:14:11 +0000 (0:00:00.048) 0:00:20.960 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:14:11 +0000 (0:00:00.031) 0:00:20.992 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:14:11 +0000 (0:00:00.021) 0:00:21.013 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083250.424336, "block_size": 4096, "blocks": 8, "ctime": 1705083250.3793366, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705083250.3793366, "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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:14:11 +0000 (0:00:00.137) 0:00:21.150 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:14:11 +0000 (0:00:00.023) 0:00:21.174 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023482", "end": "2024-01-12 18:14:11.602185", "rc": 0, "start": "2024-01-12 18:14:11.578703" } 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:14:11 +0000 (0:00:00.175) 0:00:21.349 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:14:11 +0000 (0:00:00.038) 0:00:21.388 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:14:11 +0000 (0:00:00.022) 0:00:21.410 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:14:11 +0000 (0:00:00.022) 0:00:21.433 ******** 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_typelth7gxlb/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:14:11 +0000 (0:00:00.019) 0:00:21.452 ******** 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_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:14:11 +0000 (0:00:00.025) 0:00:21.478 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:14:11 +0000 (0:00:00.033) 0:00:21.512 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:14:11 +0000 (0:00:00.027) 0:00:21.539 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:116 Friday 12 January 2024 18:14:11 +0000 (0:00:00.028) 0:00:21.568 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003659", "end": "2024-01-12 18:14:11.969604", "rc": 0, "start": "2024-01-12 18:14:11.965945" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.84 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:120 Friday 12 January 2024 18:14:12 +0000 (0:00:00.187) 0:00:21.755 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:126 Friday 12 January 2024 18:14:12 +0000 (0:00:00.019) 0:00:21.775 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003661", "end": "2024-01-12 18:14:12.182037", "rc": 0, "start": "2024-01-12 18:14:12.178376" } 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_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:130 Friday 12 January 2024 18:14:12 +0000 (0:00:00.145) 0:00:21.920 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:137 Friday 12 January 2024 18:14:12 +0000 (0:00:00.031) 0:00:21.951 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 18:14:12 +0000 (0:00:00.023) 0:00:21.974 ******** included: /WORKDIR/git-route_typelth7gxlb/.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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 18:14:12 +0000 (0:00:00.039) 0:00:22.014 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 18:14:12 +0000 (0:00:00.043) 0:00:22.057 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 18:14:12 +0000 (0:00:00.029) 0:00:22.087 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 18:14:12 +0000 (0:00:00.025) 0:00:22.113 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 18:14:13 +0000 (0:00:00.843) 0:00:22.957 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 18:14:14 +0000 (0:00:00.786) 0:00:23.743 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 18:14:14 +0000 (0:00:00.043) 0:00:23.787 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 18:14:14 +0000 (0:00:00.029) 0:00:23.817 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 18:14:14 +0000 (0:00:00.049) 0:00:23.866 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 18:14:14 +0000 (0:00:00.163) 0:00:24.029 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 18:14:14 +0000 (0:00:00.055) 0:00:24.085 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 18:14:14 +0000 (0:00:00.148) 0:00:24.233 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 18:14:14 +0000 (0:00:00.044) 0:00:24.278 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 18:14:14 +0000 (0:00:00.277) 0:00:24.555 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 18:14:14 +0000 (0:00:00.035) 0:00:24.591 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 18:14:14 +0000 (0:00:00.019) 0:00:24.610 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 18:14:14 +0000 (0:00:00.019) 0:00:24.629 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 18:14:15 +0000 (0:00:00.393) 0:00:25.023 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 18:14:15 +0000 (0:00:00.024) 0:00:25.048 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 18:14:15 +0000 (0:00:00.022) 0:00:25.071 ******** 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_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 18:14:15 +0000 (0:00:00.023) 0:00:25.095 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 18:14:15 +0000 (0:00:00.023) 0:00:25.119 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:149 Friday 12 January 2024 18:14:15 +0000 (0:00:00.145) 0:00:25.265 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:14:15 +0000 (0:00:00.049) 0:00:25.315 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:14:15 +0000 (0:00:00.019) 0:00:25.334 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:14:15 +0000 (0:00:00.025) 0:00:25.359 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:14:15 +0000 (0:00:00.030) 0:00:25.390 ******** included: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:14:15 +0000 (0:00:00.069) 0:00:25.460 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2024-01-12 18:14:15.861044", "rc": 0, "start": "2024-01-12 18:14:15.857397" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:14:15 +0000 (0:00:00.142) 0:00:25.602 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:14:15 +0000 (0:00:00.024) 0:00:25.626 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:14:15 +0000 (0:00:00.033) 0:00:25.659 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 Friday 12 January 2024 18:14:16 +0000 (0:00:00.352) 0:00:26.012 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:31 Friday 12 January 2024 18:14:16 +0000 (0:00:00.039) 0:00:26.051 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:39 Friday 12 January 2024 18:14:16 +0000 (0:00:00.040) 0:00:26.091 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012415", "end": "2024-01-12 18:14:16.540514", "rc": 0, "start": "2024-01-12 18:14:16.528099" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 12 January 2024 18:14:16 +0000 (0:00:00.189) 0:00:26.281 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:50 Friday 12 January 2024 18:14:16 +0000 (0:00:00.026) 0:00:26.307 ******** 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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:56 Friday 12 January 2024 18:14:16 +0000 (0:00:00.018) 0:00:26.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_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:14:16 +0000 (0:00:00.019) 0:00:26.345 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=130 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Friday 12 January 2024 18:14:16 +0000 (0:00:00.048) 0:00:26.394 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-route_typelth7gxlb/.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.96s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typelth7gxlb/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-route_typelth7gxlb/.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.84s /WORKDIR/git-route_typelth7gxlb/.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.83s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.75s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tests_auto_gateway.yml:3 ------ Install yum-utils package ----------------------------------------------- 0.49s /WORKDIR/git-route_typelth7gxlb/tests/tasks/enable_epel.yml:24 ---------------- Install iproute --------------------------------------------------------- 0.48s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.47s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.44s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install iproute --------------------------------------------------------- 0.42s /WORKDIR/git-route_typelth7gxlb/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-route_typelth7gxlb/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---