# 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_type_f69qml9/.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_type_f69qml9/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_type_f69qml9/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 16:44:24 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type_f69qml9/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.681) 0:00:00.693 ******* included: /WORKDIR/git-route_type_f69qml9/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_type_f69qml9/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.011) 0:00:00.705 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.253) 0:00:00.958 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.178) 0:00:01.137 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.013) 0:00:01.150 ******* 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_type_f69qml9/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.007) 0:00:01.157 ******* included: /WORKDIR/git-route_type_f69qml9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.022) 0:00:01.180 ******* 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_type_f69qml9/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:44:25 +0000 (0:00:00.180) 0:00:01.360 ******* 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_type_f69qml9/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:44:26 +0000 (0:00:00.416) 0:00:01.776 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191313", "end": "2024-01-09 16:44:26.661496", "rc": 0, "start": "2024-01-09 16:44:26.470183" } 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_type_f69qml9/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:44:26 +0000 (0:00:00.314) 0:00:02.091 ******* 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_type_f69qml9/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:44:26 +0000 (0:00:00.008) 0:00:02.099 ******* 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_type_f69qml9/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 16:44:26 +0000 (0:00:00.009) 0:00:02.109 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 16:44:26 +0000 (0:00:00.015) 0:00:02.124 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.512) 0:00:02.637 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.022) 0:00:02.659 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.010) 0:00:02.670 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003818", "end": "2024-01-09 16:44:27.370857", "rc": 0, "start": "2024-01-09 16:44:27.367039" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.130) 0:00:02.800 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.010) 0:00:02.810 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.009) 0:00:02.820 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.022) 0:00:02.842 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.007) 0:00:02.850 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.007) 0:00:02.857 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.010) 0:00:02.868 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.010) 0:00:02.878 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003925", "end": "2024-01-09 16:44:27.580798", "rc": 0, "start": "2024-01-09 16:44:27.576873" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.131) 0:00:03.010 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.009) 0:00:03.019 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.009) 0:00:03.029 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:44:27 +0000 (0:00:00.320) 0:00:03.349 ******* 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.009510", "end": "2024-01-09 16:44:28.058002", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:44:28.048492" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008225", "end": "2024-01-09 16:44:28.191103", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:44:28.182878" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008453", "end": "2024-01-09 16:44:28.314337", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:44:28.305884" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.398) 0:00:03.747 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023226", "end": "2024-01-09 16:44:28.464756", "rc": 0, "start": "2024-01-09 16:44:28.441530" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.146) 0:00:03.894 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.009) 0:00:03.904 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.008) 0:00:03.913 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.009) 0:00:03.922 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.009) 0:00:03.931 ******* 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.008) 0:00:03.939 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.022) 0:00:03.962 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.011) 0:00:03.973 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818668.0617905, "block_size": 4096, "blocks": 0, "ctime": 1704818668.0617905, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17584, "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": 1704818668.0617905, "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_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.124) 0:00:04.098 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.010) 0:00:04.109 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.008) 0:00:04.118 ******* included: /WORKDIR/git-route_type_f69qml9/.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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.015) 0:00:04.134 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.017) 0:00:04.151 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.011) 0:00:04.163 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:44:28 +0000 (0:00:00.010) 0:00:04.174 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:44:29 +0000 (0:00:00.875) 0:00:05.049 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.848) 0:00:05.898 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.019) 0:00:05.917 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.019) 0:00:05.937 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.019) 0:00:05.956 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.051) 0:00:06.007 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.020) 0:00:06.028 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.019) 0:00:06.047 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:44:30 +0000 (0:00:00.050) 0:00:06.098 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.402) 0:00:06.500 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.032) 0:00:06.532 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.017) 0:00:06.550 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.016) 0:00:06.566 ******* 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, 70311ff5-7de3-45e8-ba00-65eef4e75bd5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 70311ff5-7de3-45e8-ba00-65eef4e75bd5 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.479) 0:00:07.046 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.021) 0:00:07.067 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 70311ff5-7de3-45e8-ba00-65eef4e75bd5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 70311ff5-7de3-45e8-ba00-65eef4e75bd5 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.020) 0:00:07.088 ******* 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, 70311ff5-7de3-45e8-ba00-65eef4e75bd5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 70311ff5-7de3-45e8-ba00-65eef4e75bd5 (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, 70311ff5-7de3-45e8-ba00-65eef4e75bd5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 70311ff5-7de3-45e8-ba00-65eef4e75bd5 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.021) 0:00:07.110 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.021) 0:00:07.131 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.227) 0:00:07.358 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:44:31 +0000 (0:00:00.040) 0:00:07.399 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.027) 0:00:07.426 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818668.6697826, "block_size": 4096, "blocks": 0, "ctime": 1704818668.0617905, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17584, "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": 1704818668.0617905, "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_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.133) 0:00:07.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.018) 0:00:07.578 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.063) 0:00:07.642 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.029) 0:00:07.671 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.018) 0:00:07.690 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818671.6397443, "block_size": 4096, "blocks": 8, "ctime": 1704818671.5477455, "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": 1704818671.5477455, "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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.130) 0:00:07.820 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.020) 0:00:07.840 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024759", "end": "2024-01-09 16:44:32.561578", "rc": 0, "start": "2024-01-09 16:44:32.536819" } 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.158) 0:00:07.999 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.021) 0:00:08.020 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.018) 0:00:08.038 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.018) 0:00:08.057 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.017) 0:00:08.074 ******* 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_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.018) 0:00:08.092 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.019) 0:00:08.112 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.020) 0:00:08.132 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.019) 0:00:08.152 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003615", "end": "2024-01-09 16:44:32.848613", "rc": 0, "start": "2024-01-09 16:44:32.844998" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.170 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.133) 0:00:08.285 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 16:44:32 +0000 (0:00:00.019) 0:00:08.304 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003580", "end": "2024-01-09 16:44:33.001496", "rc": 0, "start": "2024-01-09 16:44:32.997916" } 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.133) 0:00:08.437 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.019) 0:00:08.457 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.018) 0:00:08.475 ******* included: /WORKDIR/git-route_type_f69qml9/.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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.055) 0:00:08.530 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.031) 0:00:08.562 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.021) 0:00:08.584 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.020) 0:00:08.605 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:44:33 +0000 (0:00:00.791) 0:00:09.396 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.666) 0:00:10.062 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.020) 0:00:10.083 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.020) 0:00:10.104 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.020) 0:00:10.125 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.048) 0:00:10.173 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.020) 0:00:10.194 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.020) 0:00:10.214 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:44:34 +0000 (0:00:00.031) 0:00:10.246 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.242) 0:00:10.489 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.033) 0:00:10.523 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.017) 0:00:10.540 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.043) 0:00:10.583 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.384) 0:00:10.968 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.020) 0:00:10.988 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.020) 0:00:11.008 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.020) 0:00:11.029 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.019) 0:00:11.049 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.140) 0:00:11.189 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.041) 0:00:11.231 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.017) 0:00:11.249 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.016) 0:00:11.265 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.026) 0:00:11.292 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:44:35 +0000 (0:00:00.025) 0:00:11.317 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-01-09 16:44:36.015323", "rc": 0, "start": "2024-01-09 16:44:36.011704" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.133) 0:00:11.451 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.019) 0:00:11.471 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.018) 0:00:11.489 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.350) 0:00:11.840 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.023) 0:00:11.864 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:11.882 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012705", "end": "2024-01-09 16:44:36.591057", "rc": 0, "start": "2024-01-09 16:44:36.578352" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.146) 0:00:12.028 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.018) 0:00:12.046 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:12.064 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:12.082 ******* 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:12.100 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:12.117 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.043) 0:00:12.161 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.016) 0:00:12.178 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.017) 0:00:12.195 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.027) 0:00:12.222 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.026) 0:00:12.248 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003609", "end": "2024-01-09 16:44:36.946499", "rc": 0, "start": "2024-01-09 16:44:36.942890" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.134) 0:00:12.383 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:44:36 +0000 (0:00:00.018) 0:00:12.402 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.043) 0:00:12.446 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.329) 0:00:12.775 ******* 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.013579", "end": "2024-01-09 16:44:37.487672", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:44:37.474093" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008561", "end": "2024-01-09 16:44:37.618263", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:44:37.609702" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008772", "end": "2024-01-09 16:44:37.744133", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:44:37.735361" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.411) 0:00:13.187 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024086", "end": "2024-01-09 16:44:37.908326", "rc": 0, "start": "2024-01-09 16:44:37.884240" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.159) 0:00:13.346 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.018) 0:00:13.364 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.017) 0:00:13.382 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:44:37 +0000 (0:00:00.017) 0:00:13.400 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.017) 0:00:13.417 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.017) 0:00:13.435 ******* included: /WORKDIR/git-route_type_f69qml9/.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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.032) 0:00:13.467 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.031) 0:00:13.499 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.020) 0:00:13.519 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.021) 0:00:13.541 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:44:38 +0000 (0:00:00.784) 0:00:14.326 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.665) 0:00:14.992 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.021) 0:00:15.013 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.051) 0:00:15.065 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.021) 0:00:15.086 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.050) 0:00:15.137 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.023) 0:00:15.160 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.021) 0:00:15.181 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:44:39 +0000 (0:00:00.031) 0:00:15.213 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.246) 0:00:15.459 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.035) 0:00:15.495 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.018) 0:00:15.514 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.019) 0:00:15.533 ******* 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, faf6ad94-a375-4c93-8d07-a123677c92c7 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, faf6ad94-a375-4c93-8d07-a123677c92c7 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.331) 0:00:15.865 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.021) 0:00:15.886 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, faf6ad94-a375-4c93-8d07-a123677c92c7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, faf6ad94-a375-4c93-8d07-a123677c92c7 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.020) 0:00:15.907 ******* 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, faf6ad94-a375-4c93-8d07-a123677c92c7\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, faf6ad94-a375-4c93-8d07-a123677c92c7 (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, faf6ad94-a375-4c93-8d07-a123677c92c7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, faf6ad94-a375-4c93-8d07-a123677c92c7 (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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.021) 0:00:15.928 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.020) 0:00:15.949 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.141) 0:00:16.090 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.045) 0:00:16.136 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.053) 0:00:16.190 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818680.3386655, "block_size": 4096, "blocks": 0, "ctime": 1704818677.485691, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17585, "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": 1704818677.485691, "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_type_f69qml9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.132) 0:00:16.322 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.020) 0:00:16.342 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:44:40 +0000 (0:00:00.045) 0:00:16.388 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.030) 0:00:16.419 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.018) 0:00:16.437 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818680.4246647, "block_size": 4096, "blocks": 8, "ctime": 1704818680.3786652, "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": 1704818680.3786652, "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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.132) 0:00:16.569 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.020) 0:00:16.590 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023150", "end": "2024-01-09 16:44:41.309465", "rc": 0, "start": "2024-01-09 16:44:41.286315" } 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.157) 0:00:16.747 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.020) 0:00:16.768 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.019) 0:00:16.787 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.018) 0:00:16.806 ******* 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_type_f69qml9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.018) 0:00:16.824 ******* 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_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.017) 0:00:16.842 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.020) 0:00:16.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.019) 0:00:16.882 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.018) 0:00:16.900 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003575", "end": "2024-01-09 16:44:41.598263", "rc": 0, "start": "2024-01-09 16:44:41.594688" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.170 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.164) 0:00:17.065 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.019) 0:00:17.084 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003558", "end": "2024-01-09 16:44:41.782992", "rc": 0, "start": "2024-01-09 16:44:41.779434" } 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_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.135) 0:00:17.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.019) 0:00:17.239 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.019) 0:00:17.259 ******* included: /WORKDIR/git-route_type_f69qml9/.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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.033) 0:00:17.292 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.032) 0:00:17.324 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.021) 0:00:17.345 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:44:41 +0000 (0:00:00.021) 0:00:17.366 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:44:42 +0000 (0:00:00.790) 0:00:18.157 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.667) 0:00:18.825 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.020) 0:00:18.846 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.021) 0:00:18.867 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.020) 0:00:18.887 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.050) 0:00:18.937 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.020) 0:00:18.958 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.050) 0:00:19.008 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.032) 0:00:19.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.245) 0:00:19.286 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.032) 0:00:19.318 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.017) 0:00:19.336 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:44:43 +0000 (0:00:00.016) 0:00:19.353 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.378) 0:00:19.732 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.021) 0:00:19.754 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.020) 0:00:19.774 ******* 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_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.021) 0:00:19.796 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.020) 0:00:19.816 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.137) 0:00:19.954 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.046) 0:00:20.000 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.016) 0:00:20.017 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.017) 0:00:20.034 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.027) 0:00:20.062 ******* included: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.059) 0:00:20.121 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003639", "end": "2024-01-09 16:44:44.820525", "rc": 0, "start": "2024-01-09 16:44:44.816886" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.136) 0:00:20.258 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.019) 0:00:20.277 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:44:44 +0000 (0:00:00.020) 0:00:20.297 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.326) 0:00:20.624 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.024) 0:00:20.649 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.017) 0:00:20.666 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011053", "end": "2024-01-09 16:44:45.375145", "rc": 0, "start": "2024-01-09 16:44:45.364092" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.147) 0:00:20.814 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.018) 0:00:20.832 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.017) 0:00:20.850 ******* 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_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.018) 0:00:20.869 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=130 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Tuesday 09 January 2024 16:44:45 +0000 (0:00:00.044) 0:00:20.913 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-route_type_f69qml9/.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.85s /WORKDIR/git-route_type_f69qml9/.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.79s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.79s /WORKDIR/git-route_type_f69qml9/.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.78s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-route_type_f69qml9/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.67s /WORKDIR/git-route_type_f69qml9/.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.67s /WORKDIR/git-route_type_f69qml9/.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.67s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-route_type_f69qml9/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install yum-utils package ----------------------------------------------- 0.42s /WORKDIR/git-route_type_f69qml9/tests/tasks/enable_epel.yml:24 ---------------- Create veth interface veth0 --------------------------------------------- 0.41s /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.40s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Create veth interface veth0 --------------------------------------------- 0.40s /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.38s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.38s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-route_type_f69qml9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-route_type_f69qml9/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---